From f940276fd9bc38ae34d4119fd1d983171a627400 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Wed, 15 May 2019 18:16:27 -0400 Subject: puzzles: resync with upstream This brings the puzzles source to upstream commit e2135d5. (I've made my own changes on top of that.) This brings in a couple bugfixes and a new solver for Dominosa. Change-Id: I11d46b43171787832330a5e2e0d2f353f36f727d --- apps/plugins/puzzles/src/pegs.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps/plugins/puzzles/src/pegs.c') diff --git a/apps/plugins/puzzles/src/pegs.c b/apps/plugins/puzzles/src/pegs.c index 32673d56e7..db9caf298f 100644 --- a/apps/plugins/puzzles/src/pegs.c +++ b/apps/plugins/puzzles/src/pegs.c @@ -792,6 +792,12 @@ static void game_changed_state(game_ui *ui, const game_state *oldstate, * unoccupied. */ ui->dragging = false; + + /* + * Also, cancel a keyboard-driven jump if one is half way to being + * input. + */ + ui->cur_jumping = false; } #define PREFERRED_TILE_SIZE 33 -- cgit v1.2.3