mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-18 19:24:48 +00:00
rogueviz:: fixed some hotkey bugs in smoothcam
This commit is contained in:
parent
0dd29dd7cf
commit
5477b0e863
@ -379,7 +379,7 @@ void show() {
|
|||||||
view_trace = !view_trace;
|
view_trace = !view_trace;
|
||||||
if(view_trace) generate_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::addItem("test the animation", 't');
|
||||||
dialog::add_action([] {
|
dialog::add_action([] {
|
||||||
@ -407,8 +407,10 @@ void show() {
|
|||||||
last_time = HUGE_VAL;
|
last_time = HUGE_VAL;
|
||||||
});
|
});
|
||||||
|
|
||||||
if(GDIM == 2) dialog::addItem("centering", 'X');
|
if(GDIM == 2) {
|
||||||
dialog::add_action_push(snap_to_center);
|
dialog::addItem("centering", 'z');
|
||||||
|
dialog::add_action_push(snap_to_center);
|
||||||
|
}
|
||||||
|
|
||||||
dialog::addHelp();
|
dialog::addHelp();
|
||||||
dialog::add_action([] { gotoHelp(smooth_camera_help); });
|
dialog::add_action([] { gotoHelp(smooth_camera_help); });
|
||||||
|
Loading…
Reference in New Issue
Block a user