Fix indentation

This commit is contained in:
Moritz Brückner 2020-09-11 15:16:40 +02:00
parent 261edbdac9
commit b948641146

View file

@ -23,7 +23,7 @@ class CanvasGetScaleNode extends LogicNode {
if (e == null) return;
height = e.height;
width = e.width;
width = e.width;
runOutput(0);
}
@ -36,7 +36,7 @@ class CanvasGetScaleNode extends LogicNode {
tree.notifyOnUpdate(update);
update();
}
override function get(from: Int): Dynamic {
override function get(from: Int): Dynamic {
if (from == 1) return height;
else if (from == 2) return width;
else return 0;