diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2023-07-12 12:44:23 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2023-07-12 12:44:23 +0300 |
commit | 68a064431c6a5d3339727e7c58fcf338cf5d413f (patch) | |
tree | c6c385687dcf7a941ac7485ebdc9a3a2c5f382e9 | |
parent | 4aa44bdfc9bae011bdfbb01bd888f7ab92e18215 (diff) |
SL-19702 don't skip double clicks when clicking scripted objects
-rw-r--r-- | indra/newview/llviewerinput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerinput.cpp b/indra/newview/llviewerinput.cpp index 226e0a9a56..7207d6c6ba 100644 --- a/indra/newview/llviewerinput.cpp +++ b/indra/newview/llviewerinput.cpp @@ -1617,9 +1617,9 @@ BOOL LLViewerInput::handleMouse(LLWindow *window_impl, LLCoordGL pos, MASK mask, // If the first LMB click is handled by the menu, skip the following double click static bool skip_double_click = false; - if (clicktype == CLICK_LEFT && down && !is_toolmgr_action) + if (clicktype == CLICK_LEFT && down) { - skip_double_click = handled; + skip_double_click = is_toolmgr_action ? false : handled; } if (double_click_sp && down) |