diff options
author | liam4 <towerofnix@gmail.com> | 2017-07-03 18:59:57 -0300 |
---|---|---|
committer | liam4 <towerofnix@gmail.com> | 2017-07-03 19:00:01 -0300 |
commit | 769413468e88acba1a180baa0113139d929a3b9f (patch) | |
tree | f29af36826077178259b7bcc8bf9927cebfe71e3 /ui/form/CancelDialog.js | |
parent | 489e4d0c78d5f393729cda0e1f6ac9a0a1237b4a (diff) |
A long-due cleanup + examples + things
..Obviously this breaks old things (particularly, see changes in FocusElement).
Diffstat (limited to 'ui/form/CancelDialog.js')
-rw-r--r-- | ui/form/CancelDialog.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/form/CancelDialog.js b/ui/form/CancelDialog.js index ba9faf8..c5eb7d3 100644 --- a/ui/form/CancelDialog.js +++ b/ui/form/CancelDialog.js @@ -1,4 +1,4 @@ -const telc = require('../../telchars') +const telc = require('../../util/telchars') const FocusElement = require('./FocusElement') @@ -47,7 +47,7 @@ module.exports = class ConfirmDialog extends FocusElement { this.cancelBtn.y = this.pane.contentH - 2 } - focus() { + focused() { this.root.select(this.cancelBtn) } |