|
|
@ -136,6 +136,7 @@ var panelSidebar = { |
|
|
var buttonShowLayers = { |
|
|
var buttonShowLayers = { |
|
|
id: 'show-layers', |
|
|
id: 'show-layers', |
|
|
active: true, |
|
|
active: true, |
|
|
|
|
|
togglable: false, |
|
|
label: 'Layers', |
|
|
label: 'Layers', |
|
|
command: { |
|
|
command: { |
|
|
getRowEl(editor) { return editor.getContainer().parentNode.parentNode; }, |
|
|
getRowEl(editor) { return editor.getContainer().parentNode.parentNode; }, |
|
|
@ -157,6 +158,7 @@ var buttonShowLayers = { |
|
|
var buttonShowStyle = { |
|
|
var buttonShowStyle = { |
|
|
id: 'show-style', |
|
|
id: 'show-style', |
|
|
label: 'Styles', |
|
|
label: 'Styles', |
|
|
|
|
|
togglable: false, |
|
|
active: true, |
|
|
active: true, |
|
|
command: { |
|
|
command: { |
|
|
getRowEl(editor) { return editor.getContainer().parentNode.parentNode; }, |
|
|
getRowEl(editor) { return editor.getContainer().parentNode.parentNode; }, |
|
|
@ -178,6 +180,7 @@ var buttonShowStyle = { |
|
|
var buttonShowTraits = { |
|
|
var buttonShowTraits = { |
|
|
id: 'show-traits', |
|
|
id: 'show-traits', |
|
|
label: 'Traits', |
|
|
label: 'Traits', |
|
|
|
|
|
togglable: false, |
|
|
active: true, |
|
|
active: true, |
|
|
command: { |
|
|
command: { |
|
|
getTraitsEl(editor) { |
|
|
getTraitsEl(editor) { |
|
|
@ -217,10 +220,12 @@ var panelDevices = { |
|
|
label: 'D', |
|
|
label: 'D', |
|
|
command: { run: editor => editor.setDevice('Desktop') }, |
|
|
command: { run: editor => editor.setDevice('Desktop') }, |
|
|
active: true, |
|
|
active: true, |
|
|
|
|
|
togglable: false, |
|
|
}, { |
|
|
}, { |
|
|
id: 'device-mobile', |
|
|
id: 'device-mobile', |
|
|
label: 'M', |
|
|
label: 'M', |
|
|
command: { run: editor => editor.setDevice('Mobile') }, |
|
|
command: { run: editor => editor.setDevice('Mobile') }, |
|
|
|
|
|
togglable: false, |
|
|
}], |
|
|
}], |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|