1
0
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:
Zeno Rogue 2020-07-08 12:42:10 +02:00
parent 9103735be1
commit bf1269e525

View File

@ -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();