1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-25 06:33:19 +00:00

3d:: draw:: fixed z-level changing

This commit is contained in:
Zeno Rogue 2019-04-07 03:09:23 +02:00
parent fc1e33f245
commit 5fb9578000

View File

@ -1704,6 +1704,10 @@ namespace mapeditor {
pushScreen(showMapEditor);
}
if(uni == 'z' && DIM == 3)
dialog::editNumber(front_edit, 0, 5, 0.1, 0.5, XLAT("z-level"),
XLAT("The distance from the camera to added points."));
if(sym == SDLK_F7) {
drawplayer = !drawplayer;
}
@ -1773,10 +1777,6 @@ namespace mapeditor {
texture::config.data.undo();
}
if(uni == 'z' && DIM == 3)
dialog::editNumber(front_edit, 0, 5, 0.1, 0.5, XLAT("z-level"),
XLAT("The distance from the camera to added points."));
if(uni == 'p') {
if(!clickused)
dialog::openColorDialog(texture::config.paint_color, texture_colors);