summaryrefslogtreecommitdiff
path: root/indra/newview/llworldmapview.h
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2022-07-18 16:53:43 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2022-07-18 16:53:43 +0300
commit38cc06e43a92a10d73ab149944b3cff19b8da8ad (patch)
tree70965e8f3a8fed1f776509ee699a60d0c2889506 /indra/newview/llworldmapview.h
parent23534c4f1c1dd3e4dbbcd5b5b3aa2bd44f5c6350 (diff)
SL-17785 FIXED World Map scrolls too slowly when searching for a region.
Diffstat (limited to 'indra/newview/llworldmapview.h')
-rw-r--r--indra/newview/llworldmapview.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llworldmapview.h b/indra/newview/llworldmapview.h
index edbdded120..ce8af76a82 100644
--- a/indra/newview/llworldmapview.h
+++ b/indra/newview/llworldmapview.h
@@ -80,6 +80,7 @@ public:
// Pan is in pixels relative to the center of the map.
void translatePan( S32 delta_x, S32 delta_y );
void setPan( S32 x, S32 y, BOOL snap = TRUE );
+ void setPanWithInterpTime(S32 x, S32 y, BOOL snap, F32 interp_time);
// Return true if the current scale level is above the threshold for accessing region info
bool showRegionInfo();
@@ -212,6 +213,8 @@ private:
static F32 sMapScaleSetting;
static LLVector2 sZoomPivot;
static LLFrameTimer sZoomTimer;
+
+ F32 mMapIterpTime;
};
#endif