Commit d5306ca
crop: Disable window dragging when cropping
This lets users hold and drag to select a crop area. This is implemented
by temporarily setting `window-dragging` property to no when cropping.
Releasing the mouse confirms the crop. The behaviour for point-and-click
to crop is unchanged. This option can be disabled with a `script-opt`.
Recent changes to mpv caused issues detecting mouse input when selecting
an area. Disabling `window-dragging` resolves this problem.
Ref: Sneakpeakcss/mpv-scripts@136d4351 parent 9837a3a commit d5306ca
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
375 | 376 | | |
376 | 377 | | |
377 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
378 | 382 | | |
379 | 383 | | |
380 | 384 | | |
| |||
525 | 529 | | |
526 | 530 | | |
527 | 531 | | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
528 | 535 | | |
529 | 536 | | |
530 | 537 | | |
| |||
0 commit comments