Commit fb5ce6f
committed
fix(canvas): restore first-vertex snap highlight when closing polygon
highlightClear() ran after self.update(), so the async paint event fired
after the highlight had already been cleared. Clear at the top of the
draw branch instead so the NEAR_VERTEX highlight set by the snap check
is still present when the paint event runs.1 parent 60b2bcc commit fb5ce6f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| 388 | + | |
388 | 389 | | |
389 | 390 | | |
390 | 391 | | |
| |||
433 | 434 | | |
434 | 435 | | |
435 | 436 | | |
436 | | - | |
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| |||
0 commit comments