We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1bedf3 commit cbd2529Copy full SHA for cbd2529
web/src/components/settings/ObjectMaskEditPane.tsx
@@ -156,10 +156,6 @@ export default function ObjectMaskEditPane({
156
? 1
157
: 0;
158
159
- if (editingMask) {
160
- index = polygon.typeIndex;
161
- }
162
-
163
// editing existing mask, not creating a new one
164
if (editingMask) {
165
index = polygon.typeIndex;
@@ -308,6 +304,7 @@ export default function ObjectMaskEditPane({
308
304
<Select
309
305
onValueChange={field.onChange}
310
306
defaultValue={field.value}
307
+ disabled={polygon.name.length != 0}
311
>
312
<FormControl>
313
<SelectTrigger>
0 commit comments