Commit 753ccd5
authored
[Bug 22211] Remove unnecessary 'unlock cursor' in ideMouseMove
This patch removes a seemingly unnecessary `unlock cursor` in the IDE's
mouseMove event handler (`ideMouseMove`).
The IDE intercepts mouseMove so that it can update the resize cursor
used when the mouse is over the relevant selection handlers. It does this
by locking the cursor in this case and then changing the cursor
appropriately; unlocking the cursor when there is a selected object and
the mouse is not over a selection handle.
Previously it would also unlock the cursor if pointer tool was in effect and
there was no selected object which (because the handler is executed in
time after any user handlers) would undo any user use of `lock cursor`.
This fixes bug 22211 and bug 18428 and avoids the problems of a fix for these in
livecode#20921 parent 75529a9 commit 753ccd5
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3284 | 3284 | | |
3285 | 3285 | | |
3286 | 3286 | | |
3287 | | - | |
| 3287 | + | |
| 3288 | + | |
| 3289 | + | |
| 3290 | + | |
| 3291 | + | |
| 3292 | + | |
3288 | 3293 | | |
3289 | 3294 | | |
3290 | 3295 | | |
| |||
3336 | 3341 | | |
3337 | 3342 | | |
3338 | 3343 | | |
3339 | | - | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
3340 | 3349 | | |
3341 | 3350 | | |
3342 | 3351 | | |
| |||
0 commit comments