summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-31 08:53:05 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-10-31 08:53:05 +0100
commit254ae02e16a7d42053c9e94c6d27189d0af0e874 (patch)
tree9f2806c1b94404067c0ae829ee80eb77c75233a1 /editor/imgui.cpp
parentc602452c8099c4602d9812486573024d3216f832 (diff)
add tile placement
Diffstat (limited to 'editor/imgui.cpp')
-rw-r--r--editor/imgui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp
index 3b2af522..83824967 100644
--- a/editor/imgui.cpp
+++ b/editor/imgui.cpp
@@ -45,9 +45,9 @@ float app::draw_main_menu()
}
if (auto b = begin_menu("Mode"))
{
- ImGui::MenuItem("Select", "F1", _editor.mode() == editor_mode::select);
- ImGui::MenuItem("Floor", "F2", _editor.mode() == editor_mode::floor);
- ImGui::MenuItem("Walls", "F3", _editor.mode() == editor_mode::walls);
+ ImGui::MenuItem("Select", "1", _editor.mode() == editor_mode::select);
+ ImGui::MenuItem("Floor", "2", _editor.mode() == editor_mode::floor);
+ ImGui::MenuItem("Walls", "3", _editor.mode() == editor_mode::walls);
}
main_menu_height = ImGui::GetContentRegionMax().y;