Repository navigation
Commit 8bbc970
Fix touchpad pan gesture suppressed when editing masks
A two-finger scroll (no CTRL) fell through to zoom whenever a mask
overlay was visible, even with the pointer off the mask. gesture_pan
now declines the pan only when the scroll would actually be consumed
by the mask (pointer over a shape, or creating a size-adjustable
shape) via the new dt_masks_scroll_over_mask() predicate. Elsewhere
on the canvas, and while drawing a path (which has no scroll-adjustable
parameter during creation), the scroll pans the image as expected.1 parent 89c8a6e commit 8bbc970
3 files changed
Lines changed: 28 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
606 | 610 | | |
607 | 611 | | |
608 | 612 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1225 | 1225 | | |
1226 | 1226 | | |
1227 | 1227 | | |
1228 | | - | |
1229 | | - | |
1230 | | - | |
| 1228 | + | |
1231 | 1229 | | |
1232 | 1230 | | |
1233 | 1231 | | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
1234 | 1249 | | |
1235 | 1250 | | |
1236 | 1251 | | |
| |||
1250 | 1265 | | |
1251 | 1266 | | |
1252 | 1267 | | |
1253 | | - | |
1254 | | - | |
| 1268 | + | |
1255 | 1269 | | |
1256 | 1270 | | |
1257 | 1271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4217 | 4217 | | |
4218 | 4218 | | |
4219 | 4219 | | |
4220 | | - | |
| 4220 | + | |
| 4221 | + | |
4221 | 4222 | | |
4222 | | - | |
| 4223 | + | |
| 4224 | + | |
4223 | 4225 | | |
4224 | 4226 | | |
4225 | | - | |
| 4227 | + | |
4226 | 4228 | | |
4227 | 4229 | | |
4228 | 4230 | | |
| |||
0 commit comments