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