diff options
author | Florrie <towerofnix@gmail.com> | 2018-12-08 02:37:15 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-12-08 02:37:15 -0400 |
commit | 1f434c1ef11fa55bab1718ea4e3ca8d115c0dfb1 (patch) | |
tree | 341321a95d376faf720dda8d4e0ca4b69880f3e6 /ui/form/Form.js | |
parent | 013835d81e5e56f59faf17e215a73f9e8dc4310b (diff) |
Mouse support
Not exactly the most elegant implementation, but it definitely works and isn't really difficult to code around!
Diffstat (limited to 'ui/form/Form.js')
-rw-r--r-- | ui/form/Form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/form/Form.js b/ui/form/Form.js index ac9f1e4..6cdd5a5 100644 --- a/ui/form/Form.js +++ b/ui/form/Form.js @@ -76,7 +76,7 @@ module.exports = class Form extends FocusElement { this.curIndex = this.inputs.length - 1 } - this.root.select(this.inputs[this.curIndex]) + this.root.select(this.inputs[this.curIndex], {fromForm: true}) } } |