diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-08-12 13:52:09 +0100 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-08-13 16:44:24 +0100 |
| commit | 4bd8822725794989a400768cb69f600e0a5d9734 (patch) | |
| tree | 9eaee17601b7418d9738ee0c064494e94469b016 | |
| parent | f8c2477ccbe2e86af2dba2c8483b7655d06652ec (diff) | |
| download | puzzles-4bd8822725794989a400768cb69f600e0a5d9734.zip puzzles-4bd8822725794989a400768cb69f600e0a5d9734.tar.gz puzzles-4bd8822725794989a400768cb69f600e0a5d9734.tar.bz2 puzzles-4bd8822725794989a400768cb69f600e0a5d9734.tar.xz | |
Unequal: use new move_cursor() features for normal movement
The shift+arrow controls for dimming clues don't currently use it
because they're a bit fiddly.
| -rw-r--r-- | unequal.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1617,11 +1617,9 @@ static char *interpret_move(const game_state *state, game_ui *ui, return dupstr(buf); } else { - move_cursor(button, &ui->hx, &ui->hy, ds->order, ds->order, false, - NULL); - ui->hshow = true; ui->hcursor = true; - return MOVE_UI_UPDATE; + return move_cursor(button, &ui->hx, &ui->hy, ds->order, ds->order, + false, &ui->hshow); } } if (ui->hshow && IS_CURSOR_SELECT(button)) { |