Add "Sides" label to Shape Tool's options bar number input

This commit is contained in:
Keavon Chambers 2021-07-30 15:45:49 -07:00
parent 0ddc84ba09
commit 9fbf6839e0
2 changed files with 3 additions and 1 deletions

View file

@ -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 {

View file

@ -51,6 +51,8 @@ export interface NumberInputProps {
unit?: string;
unitIsHiddenWhenEditing?: boolean;
displayDecimalPlaces?: number;
label?: string;
disabled?: boolean;
}
// Separator