« get me outta code hell

tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/ui/HorizontalBox.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/HorizontalBox.js')
-rw-r--r--ui/HorizontalBox.js2
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
     }