diff options
author | Kyler Eastridge <felix.wolfz@gmail.com> | 2023-10-07 16:54:30 -0400 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2023-10-19 01:26:43 +0300 |
commit | 02ca44eea58b3311f5879309c1e310e893a41b1e (patch) | |
tree | da245f37774d0e11d1d1e4affe888da3d67ac62a /indra/newview/llviewerwindow.cpp | |
parent | 0f742298deab3d2718a532fe36a473d2d3a6b38c (diff) |
[BUG-234493] Add "Until key release" to the gesture "Wait"
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index d68d0cd92c..8012a934c9 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -2867,6 +2867,15 @@ BOOL LLViewerWindow::handleKeyUp(KEY key, MASK mask) } } + // Try for a new-format gesture + if (LLGestureMgr::instance().triggerGestureRelease(key, mask)) + { + LL_DEBUGS() << "LLviewerWindow::handleKey new gesture release feature" << LL_ENDL; + LLViewerEventRecorder::instance().logKeyEvent(key,mask); + return TRUE; + } + //Old format gestures do not support this, so no need to implement it. + // don't pass keys on to world when something in ui has focus return gFocusMgr.childHasKeyboardFocus(mRootView) || LLMenuGL::getKeyboardMode() |