::OverlayToggle to not reset overlay on show
This commit is contained in:
@@ -106,7 +106,6 @@
|
||||
<rectangle macro="dropdown_title">
|
||||
<label text="${name}" weight="bold" size="24" />
|
||||
</rectangle>
|
||||
<MenuButton translation="BAR.TOGGLE_HIDE" action="::OverlaySoftToggle ${name}" />
|
||||
<MenuButton translation="BAR.TOGGLE_IN_SET" action="::OverlayToggle ${name}" />
|
||||
<MenuButton translation="BAR.CLOSE" action="::WvrOverlayTermProcess ${name}" />
|
||||
<MenuButton translation="BAR.FORCE_CLOSE" action="::WvrOverlayKillProcess ${name}" />
|
||||
@@ -127,7 +126,6 @@
|
||||
<rectangle macro="dropdown_title">
|
||||
<label text="${name}" weight="bold" size="24" />
|
||||
</rectangle>
|
||||
<MenuButton translation="BAR.TOGGLE_HIDE" action="::OverlaySoftToggle ${name}" />
|
||||
<MenuButton translation="BAR.TOGGLE_IN_SET" action="::OverlayToggle ${name}" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -142,7 +140,6 @@
|
||||
<rectangle macro="dropdown_title">
|
||||
<label text="${name}" weight="bold" size="24" />
|
||||
</rectangle>
|
||||
<MenuButton translation="BAR.TOGGLE_HIDE" action="::OverlaySoftToggle ${name}" />
|
||||
<MenuButton translation="BAR.TOGGLE_IN_SET" action="::OverlayToggle ${name}" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -160,7 +157,6 @@
|
||||
<rectangle macro="dropdown_title">
|
||||
<label text="${name}" weight="bold" size="24" />
|
||||
</rectangle>
|
||||
<MenuButton translation="BAR.TOGGLE_HIDE" action="::OverlaySoftToggle ${name}" />
|
||||
<MenuButton translation="BAR.TOGGLE_IN_SET" action="::OverlayToggle ${name}" />
|
||||
<MenuButton translation="BAR.CLOSE" action="::OverlayDrop ${name}" />
|
||||
</div>
|
||||
|
||||
@@ -35,7 +35,7 @@ All overlays are listed on bottom row.
|
||||
|
||||
<template name="Overlay">
|
||||
<Button macro="button_style" id="overlay_${idx}"
|
||||
tooltip="WATCH.TOGGLE_FOR_CURRENT_SET" _press="::SingleSetOverlayToggle ${idx}" _long_release="::SingleSetOverlayReset ${idx}"
|
||||
tooltip="WATCH.TOGGLE_FOR_CURRENT_SET" _press="::OverlayToggle ${idx}" _long_release="::SingleSetOverlayReset ${idx}"
|
||||
align_items="center"
|
||||
height="40">
|
||||
<sprite id="overlay_${idx}_sprite" src_builtin="${src}" width="32" height="32" />
|
||||
|
||||
Reference in New Issue
Block a user