1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

rogueviz:: fixed some hotkey bugs in smoothcam

This commit is contained in:
Zeno Rogue 2022-12-11 21:14:06 +01:00
parent 0dd29dd7cf
commit 5477b0e863

View File

@ -379,7 +379,7 @@ void show() {
view_trace = !view_trace;
if(view_trace) generate_trace();
});
dialog::addBoolItem_action("side display", side, 'M');
dialog::addBoolItem_action("side display", side, 'm');
dialog::addItem("test the animation", 't');
dialog::add_action([] {
@ -407,8 +407,10 @@ void show() {
last_time = HUGE_VAL;
});
if(GDIM == 2) dialog::addItem("centering", 'X');
dialog::add_action_push(snap_to_center);
if(GDIM == 2) {
dialog::addItem("centering", 'z');
dialog::add_action_push(snap_to_center);
}
dialog::addHelp();
dialog::add_action([] { gotoHelp(smooth_camera_help); });