diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-31 09:40:39 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-31 09:40:39 +0100 |
| commit | 2bb6730df8094c89af5a07d394fc02c43aea24eb (patch) | |
| tree | b531e2027961db3b15ccf649d6e015d62e8a392f /src/CGEditor.cpp | |
| parent | f1f638100f4bcd88b31c3412e961dbbb5e12ad0a (diff) | |
Update
Diffstat (limited to 'src/CGEditor.cpp')
| -rw-r--r-- | src/CGEditor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CGEditor.cpp b/src/CGEditor.cpp index fc7c567..1d5eaea 100644 --- a/src/CGEditor.cpp +++ b/src/CGEditor.cpp @@ -77,7 +77,8 @@ void CGEditor::CallDrawElement(Element e) { e.y += status.ScrollY; } } - + DrawElement(e); +return; // Check if element is visible if (((e.x) >= 0 && ((e.x) <= status.CanvasWidth) && (e.y) >= 0 && ((e.y) <= status.CanvasHeight)) || |
