summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2009-12-16 15:03:21 -0800
committerRick Pasetto <rick@lindenlab.com>2009-12-16 15:03:21 -0800
commite1b712a3a63e9103992b7a999a2bc94111f0401f (patch)
tree1e80e0c20e6e8827143d9e16338bd2abb61f8503 /indra/newview/skins/default/xui/en
parenta9948da80ade03523eaab1c46340313b57ee7eb6 (diff)
DEV-42827: auto-hide media controls volume slider if neither it nor mute button has the mouse over it
Review #66 fade-out was going to be harder, but just making it visible/invisible turned out to be pretty easy
Diffstat (limited to 'indra/newview/skins/default/xui/en')
-rw-r--r--indra/newview/skins/default/xui/en/panel_prim_media_controls.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/panel_prim_media_controls.xml b/indra/newview/skins/default/xui/en/panel_prim_media_controls.xml
index 3fdfc5f672..b14089c3a2 100644
--- a/indra/newview/skins/default/xui/en/panel_prim_media_controls.xml
+++ b/indra/newview/skins/default/xui/en/panel_prim_media_controls.xml
@@ -399,6 +399,8 @@
function="MediaCtrl.ToggleMute" />
<button.mouseenter_callback
function="MediaCtrl.ShowVolumeSlider" />
+ <button.mouseleave_callback
+ function="MediaCtrl.HideVolumeSlider" />
</button>
<slider
orientation="vertical"
@@ -414,6 +416,10 @@
volume="true">
<slider.commit_callback
function="MediaCtrl.Volume"/>
+ <slider.mouseenter_callback
+ function="MediaCtrl.ShowVolumeSlider" />
+ <slider.mouseleave_callback
+ function="MediaCtrl.HideVolumeSlider" />
</slider>
</layout_panel>
<panel