mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
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.
This commit is contained in:
@ -1617,11 +1617,9 @@ static char *interpret_move(const game_state *state, game_ui *ui,
|
|||||||
|
|
||||||
return dupstr(buf);
|
return dupstr(buf);
|
||||||
} else {
|
} else {
|
||||||
move_cursor(button, &ui->hx, &ui->hy, ds->order, ds->order, false,
|
|
||||||
NULL);
|
|
||||||
ui->hshow = true;
|
|
||||||
ui->hcursor = 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)) {
|
if (ui->hshow && IS_CURSOR_SELECT(button)) {
|
||||||
|
Reference in New Issue
Block a user