diff options
| author | Simon Tatham <anakin@pobox.com> | 2023-11-14 12:36:41 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2023-11-14 12:36:41 +0000 |
| commit | 3264d56791081138348524ce067f87307833d4b0 (patch) | |
| tree | a0166f490d6b81733e3b35193ca2453666ab399f /pattern.c | |
| parent | 35f796542ee5d7e775643f526973aa75f483bf20 (diff) | |
| download | puzzles-3264d56791081138348524ce067f87307833d4b0.zip puzzles-3264d56791081138348524ce067f87307833d4b0.tar.gz puzzles-3264d56791081138348524ce067f87307833d4b0.tar.bz2 puzzles-3264d56791081138348524ce067f87307833d4b0.tar.xz | |
Fix display glitch in Jigsaw Solo's pencil-mode cursor.
In Jigsaw Solo, block boundaries aren't convex, so it's possible for
one of them to have an inward corner. If that corner is in the top
left of a selectable cell, and you right-click that cell to display
the pencil-mode 'cursor' in the form of a triangle in the top left,
then the cursor was accidentally drawn on top of the block boundary,
where it ought to be underneath it.
For example, in game id 5j:d1d4_4c3_1d2d,bb_baaa_dca_baaba, right-
clicking in the bottom right square of the grid demonstrates the
problem.
Jonas Kölker fixed this for Keen in 2015, in commit 6482ed0e3c886af.
This is the identical fix, in Solo's very similar-looking drawing
routine. I feel embarrassed to have taken eight years to get round to
it!
Diffstat (limited to 'pattern.c')
0 files changed, 0 insertions, 0 deletions