editor: add 'Relative units (%)' option
This commit is contained in:
parent
7d16269228
commit
f2e0f26f58
7 changed files with 58 additions and 7 deletions
|
|
@ -158,6 +158,14 @@ var menuEntries = [
|
|||
class: ()=>{return 'toggle ' + (rightUiSidePanel.minimized ? 'off' : 'on')},
|
||||
action: ()=>{return rightUiSidePanel.minimized ? rightUiSidePanel.restore() : rightUiSidePanel.minimize()},
|
||||
shortcut: 'mod + i'
|
||||
},
|
||||
{
|
||||
separator: true
|
||||
},
|
||||
{
|
||||
label: locales('editor_percents'),
|
||||
class: ()=>{return 'toggle ' + (editor.usePercents ? 'on' : 'off')},
|
||||
action: ()=>{editor.usePercents = !editor.usePercents}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue