From 8ef1ccbb30a056318f48c44ebf70d49089b82568 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 4 Oct 2025 01:54:49 +0300 Subject: [PATCH] revert test --- src/graphics/ui/GUI.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/graphics/ui/GUI.cpp b/src/graphics/ui/GUI.cpp index 9faed8f7..3ab438b1 100644 --- a/src/graphics/ui/GUI.cpp +++ b/src/graphics/ui/GUI.cpp @@ -19,7 +19,6 @@ #include "graphics/core/DrawContext.hpp" #include "graphics/core/Shader.hpp" #include "gui_util.hpp" -#include "util/platform.hpp" #include "window/Camera.hpp" #include "window/Window.hpp" #include "window/input.hpp" @@ -205,13 +204,6 @@ void GUI::act(float delta, const glm::uvec2& vp) { container->act(delta); auto prevfocus = focus; - if (input.jpressed(Keycode::BACKSPACE)) { - platform::new_engine_instance({ - "--res", engine.getPaths().getResourcesFolder().u8string(), - "--dir", engine.getPaths().getUserFilesFolder().u8string() - }); - } - updateTooltip(delta); const auto& cursor = input.getCursor();