diff options
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)) || |
