From f2676294c95695e2de3a7fb88eafae76d6827618 Mon Sep 17 00:00:00 2001 From: Florrie Date: Thu, 31 May 2018 00:00:45 -0300 Subject: Let-const nitpicks --- ui/HorizontalBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/HorizontalBox.js') diff --git a/ui/HorizontalBox.js b/ui/HorizontalBox.js index fd43f8e..f92bf10 100644 --- a/ui/HorizontalBox.js +++ b/ui/HorizontalBox.js @@ -5,7 +5,7 @@ module.exports = class HorizontalBox extends DisplayElement { fixLayout() { let nextX = 0 - for (let child of this.children) { + for (const child of this.children) { child.x = nextX nextX = child.right + 1 } -- cgit 1.3.0-6-gf8a5