aboutsummaryrefslogtreecommitdiff
path: root/html/cube.html
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2023-08-14 01:49:24 +0100
committerBen Harris <bjh21@bjh21.me.uk>2023-08-14 01:49:24 +0100
commit462a5450c6bd7d96a6051b37ceef1fd63426ddf8 (patch)
treee5aa0ea44f4f74b7da190d28137aecf6114eb5b9 /html/cube.html
parent3c6493e7b363400479fc163970acd930b0f5db59 (diff)
downloadpuzzles-462a5450c6bd7d96a6051b37ceef1fd63426ddf8.zip
puzzles-462a5450c6bd7d96a6051b37ceef1fd63426ddf8.tar.gz
puzzles-462a5450c6bd7d96a6051b37ceef1fd63426ddf8.tar.bz2
puzzles-462a5450c6bd7d96a6051b37ceef1fd63426ddf8.tar.xz
Flood: correctly handle clicks that only hide cursor
If you clicked somewhere that had no effect (outside the grid or on a square matching the colour of the top-left corner), interpret_move() would return MOVE_NO_EFFECT (previously NULL) even though it had unset ui->cursor. So the keyboard cursor would remain visible until the next window resize (or similar) when it would vanish. Now interpret_move() correctly returns MOVE_UI_UPDATE in these cases, so the cursor vanishes immediately.
Diffstat (limited to 'html/cube.html')
0 files changed, 0 insertions, 0 deletions