summaryrefslogtreecommitdiff
path: root/indra/newview/lltooldraganddrop.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@lindenlab.com>2025-03-06 12:29:59 -0500
committerGitHub <noreply@github.com>2025-03-06 12:29:59 -0500
commit2f031e03d659eb0f1110d5ccec936767428eb3f5 (patch)
tree4e61fdce618ca87066d8ff606c396ddc3902e80d /indra/newview/lltooldraganddrop.cpp
parent616547993a6ad3135987d75eca9f753438984985 (diff)
parent2dfa996db79fe1ceeea7fa33d96642e24b06aa65 (diff)
Merge pull request #3657 from secondlife/maxim/2025.03-develop-fixes
Cherry-picking develop fixes into 2025.03
Diffstat (limited to 'indra/newview/lltooldraganddrop.cpp')
-rw-r--r--indra/newview/lltooldraganddrop.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lltooldraganddrop.cpp b/indra/newview/lltooldraganddrop.cpp
index 75adb722f3..9d6f44c096 100644
--- a/indra/newview/lltooldraganddrop.cpp
+++ b/indra/newview/lltooldraganddrop.cpp
@@ -574,12 +574,13 @@ bool LLToolDragAndDrop::handleKey(KEY key, MASK mask)
bool LLToolDragAndDrop::handleToolTip(S32 x, S32 y, MASK mask)
{
+ const F32 DRAG_N_DROP_TOOLTIP_DELAY = 0.1f;
if (!mToolTipMsg.empty())
{
LLToolTipMgr::instance().unblockToolTips();
LLToolTipMgr::instance().show(LLToolTip::Params()
.message(mToolTipMsg)
- .delay_time(gSavedSettings.getF32( "DragAndDropToolTipDelay" )));
+ .delay_time(DRAG_N_DROP_TOOLTIP_DELAY));
return true;
}
return false;