Don't wait when scrolling with middle click

This commit is contained in:
Krzosa Karol
2026-01-02 23:23:44 +01:00
parent 1767b2767e
commit da96fb847c
2 changed files with 3 additions and 3 deletions

View File

@@ -724,7 +724,7 @@ void MainLoop() {
}
WaitForEventsState = WaitForEvents;
if (IsDocumentSelectionValid() || IsScrollbarSelectionValid() || ActiveProcesses.len || dont_wait_until_resolved) {
if (IsDocumentSelectionValid() || IsScrollbarSelectionValid() || ActiveProcesses.len || dont_wait_until_resolved || MouseMiddleAnchor.x != 0) {
WaitForEventsState = false;
}