Fix Armory code authored by Moritz Brückner's avatar Moritz Brückner
...@@ -138,7 +138,9 @@ class KouiTrait extends iron.Trait { ...@@ -138,7 +138,9 @@ class KouiTrait extends iron.Trait {
Koui.add(button); Koui.add(button);
notifyOnRender2D(function(g2: kha.graphics2.Graphics) { notifyOnRender2D(function(g2: kha.graphics2.Graphics) {
g2.end();
Koui.render(g2); Koui.render(g2);
g2.begin();
}); });
}); });
}); });
... ...
......