v0.4.2: improved performance by skipping the drawing of offscreen gizmos

This commit is contained in:
Evan Debenham
2016-08-19 02:43:55 -04:00
parent d6cf212b74
commit 59f74216fe
2 changed files with 2 additions and 2 deletions
@@ -72,7 +72,7 @@ public class Group extends Gizmo {
public void draw() {
for (int i=0; i < length; i++) {
Gizmo g = members.get( i );
if (g != null && g.exists && g.visible) {
if (g != null && g.exists && g.isVisible()) {
g.draw();
}
}