Skip to content
Snippets Groups Projects
Commit 352326f2 authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

SL-20413 Add zoom controls to menu bar

parent 08a3b566
No related branches found
No related tags found
No related merge requests found
...@@ -742,6 +742,33 @@ ...@@ -742,6 +742,33 @@
function="Floater.Show" function="Floater.Show"
parameter="360capture" /> parameter="360capture" />
</menu_item_call> </menu_item_call>
<menu
create_jump_keys="true"
label="Zoom level"
name="Zoom menu"
tear_off="true">
<menu_item_call
label="Zoom out"
name="Zoom Out"
shortcut="control|8">
<menu_item_call.on_click
function="View.ZoomOut" />
</menu_item_call>
<menu_item_call
label="Default"
name="Zoom Default"
shortcut="control|9">
<menu_item_call.on_click
function="View.ZoomDefault" />
</menu_item_call>
<menu_item_call
label="Zoom in"
name="Zoom In"
shortcut="control|0">
<menu_item_call.on_click
function="View.ZoomIn" />
</menu_item_call>
</menu>
<menu_item_separator/> <menu_item_separator/>
<menu_item_call <menu_item_call
label="Place profile" label="Place profile"
...@@ -2325,29 +2352,6 @@ function="World.EnvPreset" ...@@ -2325,29 +2352,6 @@ function="World.EnvPreset"
function="View.EnableLastChatter" /> function="View.EnableLastChatter" />
</menu_item_call> </menu_item_call>
<menu_item_separator/>
<menu_item_call
label="Zoom In"
name="Zoom In"
shortcut="control|0">
<menu_item_call.on_click
function="View.ZoomIn" />
</menu_item_call>
<menu_item_call
label="Zoom Default"
name="Zoom Default"
shortcut="control|9">
<menu_item_call.on_click
function="View.ZoomDefault" />
</menu_item_call>
<menu_item_call
label="Zoom Out"
name="Zoom Out"
shortcut="control|8">
<menu_item_call.on_click
function="View.ZoomOut" />
</menu_item_call>
</menu> <!--Shortcuts--> </menu> <!--Shortcuts-->
<menu_item_separator/> <menu_item_separator/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment