mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
arb:: undo in connection debugger
This commit is contained in:
parent
9103735be1
commit
bf1269e525
@ -543,6 +543,12 @@ void connection_debugger() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dialog::addItem("undo", 'u');
|
||||||
|
dialog::add_action([] {
|
||||||
|
if(isize(debug_polys) > 1)
|
||||||
|
debug_polys.pop_back();
|
||||||
|
});
|
||||||
|
|
||||||
dialog::addBack();
|
dialog::addBack();
|
||||||
dialog::display();
|
dialog::display();
|
||||||
|
Loading…
Reference in New Issue
Block a user