Commit 67e7ecb
authored
fix: only start tab drag on left mouse button press (#2554)
Right-clicking a tab was recorded as the drag origin. Since the context
menu marks PointerReleased as handled, the release handler never cleared
it, so the next pointer move over a tab started an accidental drag and
left a stuck grab cursor.
Signed-off-by: Gadfly <gadfly@gadfly.vip>1 parent acb9526 commit 67e7ecb
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
230 | 235 | | |
231 | 236 | | |
232 | 237 | | |
| |||
0 commit comments