[Fixed Position] Change UI pixel/grid toggle to checkbox
Change the input for grid units/pixels to a simple checkbox toggle from a dropdown menu. Add a new specialized AccessorMutator class to support this operation.
This commit is contained in:
@@ -212,21 +212,15 @@ define([
|
||||
"control": "numberfield",
|
||||
"description": "Resize object width",
|
||||
"min": "1"
|
||||
},
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"method": "setUnits",
|
||||
"name": "Units",
|
||||
"control": "menu-button",
|
||||
"options": [
|
||||
{
|
||||
"name": "px",
|
||||
"key": "px"
|
||||
},
|
||||
{
|
||||
"name": "grid",
|
||||
"key": "grid"
|
||||
}
|
||||
]
|
||||
"property": "useGrid",
|
||||
"name": "Snap to Grid",
|
||||
"control": "checkbox"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user