« get me outta code hell

comment out pane for text editor - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2020-05-02 10:11:28 -0300
committerFlorrie <towerofnix@gmail.com>2020-05-02 10:11:28 -0300
commit359d9d107ed45be9a170e3ecf23f5c39d2eb0588 (patch)
tree9187ce74a650282bc4bbb186e2b650c93cc02543
parent83689950b99a0879f32549bbada1c7778ac2d3bb (diff)
comment out pane for text editor
this was causing a funky visual bug which made the queue pane look like
its bottom-right corner was pointing downwards (like the top-right
corner of a pane is)!
-rw-r--r--ui.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index 021776f..5c586dd 100644
--- a/ui.js
+++ b/ui.js
@@ -221,10 +221,10 @@ class AppElement extends FocusElement {
     this.queuePane = new Pane()
     this.addChild(this.queuePane)
 
+    /*
     this.textInfoPane = new Pane()
     this.addChild(this.textInfoPane)
 
-    /*
     this.textEditor = new NotesTextEditor()
     this.textInfoPane.addChild(this.textEditor)
     this.textInfoPane.visible = false
@@ -1235,18 +1235,22 @@ class AppElement extends FocusElement {
       this.tabberPane.w = leftWidth
       this.tabberPane.y = bottomY
       this.tabberPane.h = topY - this.tabberPane.y
+      /*
       if (this.textInfoPane.visible) {
         this.tabberPane.h -= this.textInfoPane.h
         this.textInfoPane.y = this.tabberPane.bottom
       }
+      */
       this.queuePane.x = this.tabberPane.right
       this.queuePane.w = this.contentW - this.tabberPane.right
     } else {
       this.queuePane.x = 0
       this.queuePane.w = this.contentW
+      /*
       if (this.textInfoPane.visible) {
         this.textInfoPane.y = bottomY
       }
+      */
     }
 
     this.queuePane.y = bottomY