From 122df60d02a7757e03ddab6356c06f2ebcbc981e Mon Sep 17 00:00:00 2001 From: Dregu Date: Fri, 16 Aug 2024 22:15:50 +0300 Subject: [PATCH] Remove key labels from menus --- ui.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/ui.cpp b/ui.cpp index 85ed8bd..9faace3 100644 --- a/ui.cpp +++ b/ui.cpp @@ -1320,14 +1320,12 @@ UI::UI(float scale) { if (options["ui_scaling"].value) uiScale = dpiScale; - NewWindow("F1 Player", keys["tool_player"], 0, - [this]() { this->DrawPlayer(); }); - NewWindow("F2 Minimap", keys["tool_map"], ImGuiWindowFlags_AlwaysAutoResize, + NewWindow("Player", keys["tool_player"], 0, [this]() { this->DrawPlayer(); }); + NewWindow("Minimap", keys["tool_map"], ImGuiWindowFlags_AlwaysAutoResize, [this]() { this->DrawMap(); }); - NewWindow("F3 Tools", keys["tool_tools"], 0, [this]() { this->DrawTools(); }); - NewWindow("F4 Level", keys["tool_level"], 0, [this]() { this->DrawLevel(); }); - NewWindow("Settings", keys["tool_settings"], 0, - [this]() { this->DrawOptions(); }); + NewWindow("Tools", keys["tool_tools"], 0, [this]() { this->DrawTools(); }); + NewWindow("Level", keys["tool_level"], 0, [this]() { this->DrawLevel(); }); + NewWindow("Settings", ImGuiKey_None, 0, [this]() { this->DrawOptions(); }); NewWindow("Debug", ImGuiKey_None, 0, [this]() { ImGuiIO &io = ImGui::GetIO(); ImGui::SeparatorText("Patterns");