diff options
| author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2024-11-06 20:09:19 +0200 | 
|---|---|---|
| committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2025-03-05 13:16:32 +0200 | 
| commit | 2f61475d98ce45c86880a8f80f02e70fdee2ccc5 (patch) | |
| tree | 13c0e3fe0347a307493abae4089750de86122dcf /indra/newview | |
| parent | 6ca6bdd629efd6aa01b452db4ba6c1c50d6961bf (diff) | |
#3029 restore tooltip delay const variable
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/lltooldraganddrop.cpp | 3 | 
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; | 
