1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

rogueviz:: fixed the 'vertex shape' option

This commit is contained in:
Zeno Rogue 2021-02-20 15:07:10 +01:00
parent bf0956966a
commit cc45b32be1

View File

@ -1118,7 +1118,9 @@ void showMenu() {
} }
dialog::addBoolItem_action(XLAT("vertices in 3D"), rog3, 'v'); dialog::addBoolItem_action(XLAT("vertices in 3D"), rog3, 'v');
dialog::addSelItem(XLAT("vertex shape"), its(vertex_shape), 'w'); dialog::addSelItem(XLAT("vertex shape"), its(vertex_shape), 'w');
dialog::add_action_push([] { vertex_shape = (1 + vertex_shape) & 3; }); dialog::add_action([] {
vertex_shape = (1 + vertex_shape) & 3;
});
dialog::add_key_action('z', [] { dialog::add_key_action('z', [] {
for(int i=0; i<isize(named)-1; i++) if(named[i] == cwt.at) for(int i=0; i<isize(named)-1; i++) if(named[i] == cwt.at)