mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
Add "Sides" label to Shape Tool's options bar number input
This commit is contained in:
parent
0ddc84ba09
commit
9fbf6839e0
2 changed files with 3 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ export default defineComponent({
|
|||
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 {
|
||||
|
|
|
|||
|
|
@ -51,6 +51,8 @@ export interface NumberInputProps {
|
|||
unit?: string;
|
||||
unitIsHiddenWhenEditing?: boolean;
|
||||
displayDecimalPlaces?: number;
|
||||
label?: string;
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
// Separator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue