Commit 35c1bfd
committed
Avoid "dash motion" in qt zoom box.
Drawing the whole zoom box as a single rectangle causes the dashes on
the "last" edge of the rectangle to keep shifting (basically depending
on the total length of the other three edges). Instead, draw the zoom
box as 4 separate lines always going from the "fixed" point (x0, y0)
towards to "mobile" point (x1, y1) so to avoid this effect.1 parent 015ff47 commit 35c1bfd
1 file changed
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
481 | 484 | | |
482 | | - | |
483 | 485 | | |
484 | 486 | | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
491 | 498 | | |
492 | 499 | | |
493 | 500 | | |
| |||
0 commit comments