diff options
author | Florrie <towerofnix@gmail.com> | 2018-05-31 00:00:45 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-05-31 00:00:45 -0300 |
commit | f2676294c95695e2de3a7fb88eafae76d6827618 (patch) | |
tree | df80695b3e35bda8e40f5dccc7f21fb8875e7f76 /ui/HorizontalBox.js | |
parent | 553bbf486e043f206bb8f2c92c943fd688f8fedc (diff) |
Let-const nitpicks
Diffstat (limited to 'ui/HorizontalBox.js')
-rw-r--r-- | ui/HorizontalBox.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |