Commit a78d744
committed
BF: with a retina display and Window.units='pix' mouse.getPos needs /2
The (actual) coords returned by the retina display are twice the
(virtual) coords returned by the window. So mouse.getPos needs to convert
these back to virtual coords as well (by dividing by 2)1 parent 03c1030 commit a78d744
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| 646 | + | |
646 | 647 | | |
647 | 648 | | |
648 | 649 | | |
| |||
849 | 850 | | |
850 | 851 | | |
851 | 852 | | |
| 853 | + | |
| 854 | + | |
852 | 855 | | |
853 | 856 | | |
854 | 857 | | |
| |||
0 commit comments