simon-git: puzzles (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Sat May 9 15:46:39 BST 2015
TL;DR:
52a0f3c Special-case right-dragging of a numbered cell off the grid.
Repository: git://git.tartarus.org/simon/puzzles.git
On the web: http://tartarus.org/~simon-git/gitweb/?p=puzzles.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2015-05-09 15:46:39
commit 52a0f3c32af1861ceda910722549115f8a2b1cae
web diff http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=commitdiff;h=52a0f3c32af1861ceda910722549115f8a2b1cae;hp=7f64f4a50e46304b7bad011a1251e146ab63ca15
Author: Simon Tatham <anakin at pobox.com>
Date: Sat May 9 15:35:10 2015 +0100
Special-case right-dragging of a numbered cell off the grid.
Chris Boyle reports that if you right-drag a numbered cell off the
grid, _all_ numbered cells (except the immutable initial clues) get
reset to blank, because this is treated as an attempt to erase a whole
chain of linked cells (of the form a,a+1,...,a_k) and the cells with
definite numbers are all treated as 'chain 0'.
In that situation, I now substitute the same behaviour you'd get by
left-dragging the numbered cell off the board, i.e. erase _just_ that
cell and not the whole of the rest of the puzzle.
(The previous unintended behaviour was a UI action you surely never
want - and Chris also reports that due to the Android front end's way
of representing right-drags, it's especially easy to hit by mistake.)
signpost.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
More information about the tartarus-commits
mailing list