aboutsummaryrefslogtreecommitdiff
path: root/PuzzleApplet.java
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2023-08-14 17:13:01 +0100
committerBen Harris <bjh21@bjh21.me.uk>2023-08-14 17:13:01 +0100
commiteeec6b867af104a93a615a285a29fab91d8709d4 (patch)
treef1e662fd4d0586c78d0aca75a8e0913ca1719ee6 /PuzzleApplet.java
parent899c7c41efb2bcc8da8121cc7a8f4fccf5eb9b1e (diff)
downloadpuzzles-eeec6b867af104a93a615a285a29fab91d8709d4.zip
puzzles-eeec6b867af104a93a615a285a29fab91d8709d4.tar.gz
puzzles-eeec6b867af104a93a615a285a29fab91d8709d4.tar.bz2
puzzles-eeec6b867af104a93a615a285a29fab91d8709d4.tar.xz
Untangle: make snapping grid invariant under window resize
In grid-snapping mode, Untangle was still recording vertex positions in increments of one pixel. This meant that if you positioned vertices on a small window, then enlarged the window and positioned more vertices, the two sets of vertices generally wouldn't line up with one another. This was annoying, and obviously silly when Untangle has a resolution-independent co-ordinate system. So now the snapped positions are recorded in a form that doesn't depend on the tilesize.
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions