aboutsummaryrefslogtreecommitdiff
path: root/chm.css
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2021-04-27 07:08:08 +0100
committerSimon Tatham <anakin@pobox.com>2021-04-27 07:08:08 +0100
commit2d2d7e8678e55d555554203e3ffec44610bc2c25 (patch)
treecd18c1de375fb3ad7e1d83823f44b0a7cf3747b4 /chm.css
parent091bef1a8264b677d711f2de1e765035d3d0e3c5 (diff)
downloadpuzzles-2d2d7e8678e55d555554203e3ffec44610bc2c25.zip
puzzles-2d2d7e8678e55d555554203e3ffec44610bc2c25.tar.gz
puzzles-2d2d7e8678e55d555554203e3ffec44610bc2c25.tar.bz2
puzzles-2d2d7e8678e55d555554203e3ffec44610bc2c25.tar.xz
Reinsert some missing screen-clears.
I just introduced the 'first_draw' flag in the midend, which should force a screen clear whenever we draw a puzzle with a fresh drawstate. But in fact there were several places where the midend replaces the drawstate and I hadn't set that flag to true. In particular, a user just reported that when you press 'n' for a new game in an existing Magnets window, the new puzzle's clues are drawn, but any old clues in places where the new puzzle doesn't have one is not _un_drawn. (Because Magnets has no code to undraw a single clue - it never needs to!) Added a set of first_draw wherever we call new_drawstate, which should make this reliable again.
Diffstat (limited to 'chm.css')
0 files changed, 0 insertions, 0 deletions