This repository was archived by the owner on Mar 28, 2026. It is now read-only.
Commit af7e9c8
committed
Fix mouse back/forward buttons triggering on both press and release
Changed MouseButtonPress to MouseButtonRelease for back/forward button
handling in desktop mode to prevent double navigation.
Also added return true after invoking goBack/goForward to properly
consume the event.
Fixes #11151 parent 146c065 commit af7e9c8
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
| 114 | + | |
| 115 | + | |
113 | 116 | | |
114 | 117 | | |
| 118 | + | |
115 | 119 | | |
| 120 | + | |
| 121 | + | |
116 | 122 | | |
117 | 123 | | |
118 | 124 | | |
| |||
0 commit comments