Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commit35c1bfd
committed
Avoid "dash motion" in qt zoom box.
Drawing the whole zoom box as a single rectangle causes the dashes onthe "last" edge of the rectangle to keep shifting (basically dependingon the total length of the other three edges). Instead, draw the zoombox as 4 separate lines always going from the "fixed" point (x0, y0)towards to "mobile" point (x1, y1) so to avoid this effect.1 parent015ff47 commit35c1bfd
1 file changed
+14
-7
lines changedLines 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
Comments
(0)