diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2022-02-28 11:55:15 -0800 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2022-03-03 12:30:59 -0800 |
commit | 0e927e92f33f4a421a3cd56f7b9bc65c19003df2 (patch) | |
tree | 0a3fe9d2e541c5a0e26ff18ffe8d8134590b39ab /indra/newview/llnetmap.cpp | |
parent | 81da0dd2db7261e402c53445efa1d012177a4cfe (diff) |
SL-16824: Fix minimap tooltip hint not updating until viewer restart (double click to show map vs double click to teleport)
Diffstat (limited to 'indra/newview/llnetmap.cpp')
-rw-r--r-- | indra/newview/llnetmap.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llnetmap.cpp b/indra/newview/llnetmap.cpp index e87ec10e5d..29623ccd53 100644 --- a/indra/newview/llnetmap.cpp +++ b/indra/newview/llnetmap.cpp @@ -699,7 +699,15 @@ BOOL LLNetMap::handleToolTip(S32 x, S32 y, MASK mask) } } - std::string tool_tip_hint_msg = mToolTipHintMsg; + std::string tool_tip_hint_msg; + if (gSavedSettings.getBOOL("DoubleClickTeleport")) + { + tool_tip_hint_msg = mAltToolTipHintMsg; + } + else if (gSavedSettings.getBOOL("DoubleClickShowWorldMap")) + { + tool_tip_hint_msg = mToolTipHintMsg; + } LLStringUtil::format_map_t args; args["[PARCEL_NAME_MSG]"] = parcel_name_msg.empty() ? "" : parcel_name_msg + '\n'; |