summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterworldmap.cpp
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2022-03-10 16:52:29 -0800
committerCosmic Linden <cosmic@lindenlab.com>2022-04-05 11:55:34 -0700
commit9bca1aa8fb69c2163866dd7e5ce3b60fb62676b3 (patch)
tree8aa9f36d0490dc6c05d54606c80bedbff48b0fbc /indra/newview/llfloaterworldmap.cpp
parentc6cba3a67d4a346d1d5cf0cc6e6a8fe8c640e13f (diff)
SL-15232: Clang format
Diffstat (limited to 'indra/newview/llfloaterworldmap.cpp')
-rwxr-xr-x[-rw-r--r--]indra/newview/llfloaterworldmap.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp
index cf314c3e60..e54e042006 100644..100755
--- a/indra/newview/llfloaterworldmap.cpp
+++ b/indra/newview/llfloaterworldmap.cpp
@@ -407,14 +407,14 @@ BOOL LLFloaterWorldMap::handleScrollWheel(S32 x, S32 y, S32 clicks)
S32 map_y = y - mMapView->getRect().mBottom;
if (mMapView->pointInView(map_x, map_y))
{
- F32 old_slider_zoom = (F32)getChild<LLUICtrl>("zoom slider")->getValue().asReal();
- F32 slider_zoom = old_slider_zoom + ((F32)clicks * -0.3333f);
+ F32 old_slider_zoom = (F32) getChild<LLUICtrl>("zoom slider")->getValue().asReal();
+ F32 slider_zoom = old_slider_zoom + ((F32) clicks * -0.3333f);
getChild<LLUICtrl>("zoom slider")->setValue(LLSD(slider_zoom));
mMapView->zoomWithPivot(slider_zoom, map_x, map_y);
return true;
}
}
-
+
return LLFloater::handleScrollWheel(x, y, clicks);
}
@@ -1267,8 +1267,8 @@ void LLFloaterWorldMap::onShowTargetBtn()
void LLFloaterWorldMap::onShowAgentBtn()
{
- mMapView->setPan(0, 0, false); // false == animate
- // Set flag so user's location will be displayed if not tracking anything else
+ mMapView->setPan(0, 0, false); // false == animate
+ // Set flag so user's location will be displayed if not tracking anything else
mSetToUserPosition = true;
}
@@ -1622,6 +1622,6 @@ void LLFloaterWorldMap::onChangeMaturity()
void LLFloaterWorldMap::onFocusLost()
{
- gViewerWindow->showCursor();
+ gViewerWindow->showCursor();
mMapView->mPanning = false;
}