mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 02:10:34 +00:00
3d:: draw:: fixed z-level changing
This commit is contained in:
parent
fc1e33f245
commit
5fb9578000
@ -1704,6 +1704,10 @@ namespace mapeditor {
|
|||||||
pushScreen(showMapEditor);
|
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) {
|
if(sym == SDLK_F7) {
|
||||||
drawplayer = !drawplayer;
|
drawplayer = !drawplayer;
|
||||||
}
|
}
|
||||||
@ -1773,10 +1777,6 @@ namespace mapeditor {
|
|||||||
texture::config.data.undo();
|
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(uni == 'p') {
|
||||||
if(!clickused)
|
if(!clickused)
|
||||||
dialog::openColorDialog(texture::config.paint_color, texture_colors);
|
dialog::openColorDialog(texture::config.paint_color, texture_colors);
|
||||||
|
Loading…
Reference in New Issue
Block a user