Skip to content

Commit 7e479bf

Browse files
#3029 restore tooltip delay const variable
1 parent bb4edbf commit 7e479bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

indra/newview/lltooldraganddrop.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,12 +574,13 @@ bool LLToolDragAndDrop::handleKey(KEY key, MASK mask)
574574

575575
bool LLToolDragAndDrop::handleToolTip(S32 x, S32 y, MASK mask)
576576
{
577+
const F32 DRAG_N_DROP_TOOLTIP_DELAY = 0.1f;
577578
if (!mToolTipMsg.empty())
578579
{
579580
LLToolTipMgr::instance().unblockToolTips();
580581
LLToolTipMgr::instance().show(LLToolTip::Params()
581582
.message(mToolTipMsg)
582-
.delay_time(gSavedSettings.getF32( "DragAndDropToolTipDelay" )));
583+
.delay_time(DRAG_N_DROP_TOOLTIP_DELAY));
583584
return true;
584585
}
585586
return false;

0 commit comments

Comments
 (0)