« get me outta code hell

An assortment of changes to how selected/unselected works - 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/form/CancelDialog.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-07-04 22:50:39 -0300
committerFlorrie <towerofnix@gmail.com>2018-07-04 22:50:39 -0300
commiteebff4fbbac489f96954f05d6d0d838c62a8e6c7 (patch)
treed98e02291111578f298460b5c4e250c5959036e6 /ui/form/CancelDialog.js
parent4ddc3ece7d713633347f2702c30806b4a2e18ca4 (diff)
An assortment of changes to how selected/unselected works
Diffstat (limited to 'ui/form/CancelDialog.js')
-rw-r--r--ui/form/CancelDialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/form/CancelDialog.js b/ui/form/CancelDialog.js
index c5eb7d3..21ff6df 100644
--- a/ui/form/CancelDialog.js
+++ b/ui/form/CancelDialog.js
@@ -47,7 +47,7 @@ module.exports = class ConfirmDialog extends FocusElement {
     this.cancelBtn.y = this.pane.contentH - 2
   }
 
-  focused() {
+  selected() {
     this.root.select(this.cancelBtn)
   }