aboutsummaryrefslogtreecommitdiff
path: root/src/CGEditor.cpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-01-01 17:25:27 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2023-01-01 17:25:27 +0100
commit31c332da9ab426daa73b68772d0ef9c1b0744a50 (patch)
tree4e85d9a2a4b18d97e6bed242181e85f015be9e09 /src/CGEditor.cpp
parent3271972f9eef3069bf80de8be4c057102fff1138 (diff)
Decouple editor event from the Draw class
Diffstat (limited to 'src/CGEditor.cpp')
-rw-r--r--src/CGEditor.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/CGEditor.cpp b/src/CGEditor.cpp
index 4edf95e..737db39 100644
--- a/src/CGEditor.cpp
+++ b/src/CGEditor.cpp
@@ -40,12 +40,6 @@ void CGEditor::Draw() {
DrawComponent(SBH);
DrawComponent(ME);
- // Handle events
- for (Event &e : status.Events) {
- HandleEvent(e);
- }
- status.Events.clear();
-
// Update mouse events
status.LeftClick = false;
status.RightClick = false;