Fix indentation
This commit is contained in:
parent
261edbdac9
commit
b948641146
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue