From b2fb6c9c0f2e01259ee8660e3a369b30bfed0b4a Mon Sep 17 00:00:00 2001 From: WoLf Date: Mon, 11 Jul 2011 04:34:48 +0200 Subject: [PATCH] Flyout volume control now includes every channel. [FIRE-1633] --- indra/newview/llstatusbar.cpp | 2 +- .../default/xui/en/panel_volume_pulldown.xml | 300 ++++++++++++++++-- 2 files changed, 277 insertions(+), 25 deletions(-) diff --git a/indra/newview/llstatusbar.cpp b/indra/newview/llstatusbar.cpp index 8cdea96d0a..18c75d894a 100644 --- a/indra/newview/llstatusbar.cpp +++ b/indra/newview/llstatusbar.cpp @@ -576,7 +576,7 @@ void LLStatusBar::onMouseEnterVolume() LLRect volume_pulldown_rect = mPanelVolumePulldown->getRect(); volume_pulldown_rect.setLeftTopAndSize( (vol_btn_rect.mLeft + media_panel_rect.mLeft) - - (volume_pulldown_rect.getWidth() - vol_btn_rect.getWidth())/2, + (volume_pulldown_rect.getWidth() - vol_btn_rect.getWidth()), vol_btn_rect.mBottom, volume_pulldown_rect.getWidth(), volume_pulldown_rect.getHeight()); diff --git a/indra/newview/skins/default/xui/en/panel_volume_pulldown.xml b/indra/newview/skins/default/xui/en/panel_volume_pulldown.xml index 7b22b2cce1..e00b25ae1f 100644 --- a/indra/newview/skins/default/xui/en/panel_volume_pulldown.xml +++ b/indra/newview/skins/default/xui/en/panel_volume_pulldown.xml @@ -8,31 +8,12 @@ border="false" chrome="true" follows="bottom" - height="150" + height="155" layout="topleft" name="volumepulldown_floater" - width="32"> - - - - + + + + + + + + +