From 5eb5ab13ba5ed4c5470e467c4d46ce401c07bf7d Mon Sep 17 00:00:00 2001 From: Eugene Mutavchi Date: Wed, 13 Jan 2010 15:39:05 +0200 Subject: Additional commit related to EXT-3988 ([BSI] superfluous bottom bar buttons shown in mouse look after pressing enter): added gesture button accessibility via TAB and open Gestures list by pressing ENTER/SPACE. --HG-- branch : product-engine --- indra/newview/llbottomtray.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp index c4de29e6ad..beccefa430 100644 --- a/indra/newview/llbottomtray.cpp +++ b/indra/newview/llbottomtray.cpp @@ -255,8 +255,8 @@ void LLBottomTray::setVisible(BOOL visible) LLView* viewp = *child_it; std::string name = viewp->getName(); - // Chat bar is always shown. But the move, camera, gesture and snapshot buttons shouldn't be displayed when we are in mouselook mode. See EXT-3988. - if ("chat_bar" == name || (visibility && ("movement_panel" == name || "cam_panel" == name || "snapshot_panel" == name || "gesture_panel" == name))) + // Chat bar and gesture button are shown even in mouselook mode. But the move, camera and snapshot buttons shouldn't be displayed. See EXT-3988. + if ("chat_bar" == name || "gesture_panel" == name || (visibility && ("movement_panel" == name || "cam_panel" == name || "snapshot_panel" == name))) continue; else { -- cgit v1.2.3