revert test
This commit is contained in:
parent
68bdcf07b2
commit
8ef1ccbb30
@ -19,7 +19,6 @@
|
|||||||
#include "graphics/core/DrawContext.hpp"
|
#include "graphics/core/DrawContext.hpp"
|
||||||
#include "graphics/core/Shader.hpp"
|
#include "graphics/core/Shader.hpp"
|
||||||
#include "gui_util.hpp"
|
#include "gui_util.hpp"
|
||||||
#include "util/platform.hpp"
|
|
||||||
#include "window/Camera.hpp"
|
#include "window/Camera.hpp"
|
||||||
#include "window/Window.hpp"
|
#include "window/Window.hpp"
|
||||||
#include "window/input.hpp"
|
#include "window/input.hpp"
|
||||||
@ -205,13 +204,6 @@ void GUI::act(float delta, const glm::uvec2& vp) {
|
|||||||
container->act(delta);
|
container->act(delta);
|
||||||
auto prevfocus = focus;
|
auto prevfocus = focus;
|
||||||
|
|
||||||
if (input.jpressed(Keycode::BACKSPACE)) {
|
|
||||||
platform::new_engine_instance({
|
|
||||||
"--res", engine.getPaths().getResourcesFolder().u8string(),
|
|
||||||
"--dir", engine.getPaths().getUserFilesFolder().u8string()
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
updateTooltip(delta);
|
updateTooltip(delta);
|
||||||
|
|
||||||
const auto& cursor = input.getCursor();
|
const auto& cursor = input.getCursor();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user