From 604537b23557ed8f2b0fba88b5b58e21da4417ce Mon Sep 17 00:00:00 2001 From: Denis Serdjuk Date: Mon, 1 Mar 2010 17:56:40 +0200 Subject: fixed Normal Bug EXT-5616 mouse scrollwheel does not scroll world map region list Cause: Invalid check of the inside rectangle area in LLFloaterWorldMap::handleScrollWhell(). --HG-- branch : product-engine --- indra/newview/llfloaterworldmap.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'indra') diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp index b6de409611..67c0b530eb 100644 --- a/indra/newview/llfloaterworldmap.cpp +++ b/indra/newview/llfloaterworldmap.cpp @@ -359,9 +359,7 @@ BOOL LLFloaterWorldMap::handleScrollWheel(S32 x, S32 y, S32 clicks) { if (!isMinimized() && isFrontmost()) { - LLRect area; - childGetRect("search_results", area); - if(!area.pointInRect(x, y)) + if(mPanel->pointInView(x, y)) { F32 slider_value = (F32)childGetValue("zoom slider").asReal(); slider_value += ((F32)clicks * -0.3333f); -- cgit v1.2.3