fixed unselecting entity when cursor goes from ImGui to viewport while click is held
This commit is contained in:
@@ -19,6 +19,7 @@ namespace OpenEngine {
|
||||
bool CloseWindow(OpenEngine::KeyPressedEvent& event);
|
||||
|
||||
void SetBlockEvents(bool block) { block_events = block; };
|
||||
bool GetBlockEvents() { return block_events; };
|
||||
|
||||
void Begin();
|
||||
void End();
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#define INPUT_HPP
|
||||
|
||||
#include "open_engine/input/mouse_codes.hpp"
|
||||
#include "open_engine/ref_scope.hpp"
|
||||
#include "open_engine/input/keycodes.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
Reference in New Issue
Block a user