mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 06:08:12 +08:00
Add "Sides" label to Shape Tool's options bar number input
This commit is contained in:
@@ -123,7 +123,7 @@ export default defineComponent({
|
|||||||
props: {},
|
props: {},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
Shape: [{ kind: "NumberInput", callback: this.setToolOptions, props: { value: 6, min: 3, isInteger: true } }],
|
Shape: [{ kind: "NumberInput", callback: this.setToolOptions, props: { value: 6, min: 3, isInteger: true, label: "Sides" } }],
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -51,6 +51,8 @@ export interface NumberInputProps {
|
|||||||
unit?: string;
|
unit?: string;
|
||||||
unitIsHiddenWhenEditing?: boolean;
|
unitIsHiddenWhenEditing?: boolean;
|
||||||
displayDecimalPlaces?: number;
|
displayDecimalPlaces?: number;
|
||||||
|
label?: string;
|
||||||
|
disabled?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Separator
|
// Separator
|
||||||
|
|||||||
Reference in New Issue
Block a user