From b9486411467251d62eb1f0dafd4a9f0bbc013022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Br=C3=BCckner?= Date: Fri, 11 Sep 2020 15:16:40 +0200 Subject: [PATCH] Fix indentation --- Sources/armory/logicnode/CanvasGetScaleNode.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/armory/logicnode/CanvasGetScaleNode.hx b/Sources/armory/logicnode/CanvasGetScaleNode.hx index 70685757..53315aed 100644 --- a/Sources/armory/logicnode/CanvasGetScaleNode.hx +++ b/Sources/armory/logicnode/CanvasGetScaleNode.hx @@ -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;