summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2023-10-06 00:00:07 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2023-10-06 00:00:35 +0300
commit352326f2ec470e38f4791a0786a6a2450363ae45 (patch)
tree4d8a20f90fadd579bccbdc93a22eac723c8bf5fb /indra/newview/skins/default
parent08a3b56669880101aa705c98e60b76e92d26c93b (diff)
SL-20413 Add zoom controls to menu bar
Diffstat (limited to 'indra/newview/skins/default')
-rw-r--r--indra/newview/skins/default/xui/en/menu_viewer.xml50
1 files changed, 27 insertions, 23 deletions
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml
index 810d3fddd5..3ba7d208dd 100644
--- a/indra/newview/skins/default/xui/en/menu_viewer.xml
+++ b/indra/newview/skins/default/xui/en/menu_viewer.xml
@@ -742,6 +742,33 @@
function="Floater.Show"
parameter="360capture" />
</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_call
label="Place profile"
@@ -2325,29 +2352,6 @@ function="World.EnvPreset"
function="View.EnableLastChatter" />
</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_item_separator/>