diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-10-14 19:37:46 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-10-14 19:43:48 -0400 |
commit | cb566f015aa280499da94126a3f6336c4d8ce0df (patch) | |
tree | 91e57b9b1b055c682ab95bafede1b1288885ea5f /ext/bg/js/settings/main.js | |
parent | fd945a2119a0bba22c84b77dae1ec829e7495a83 (diff) |
Add simple scan input UI (#921)
* Add simple scan input UI
* Create helper function
* Add controller for old scanning input UI
* Add refresh functions
* Add abstraction function
* Fix incomplete middle mouse support detection
* Make scanning inputs update eachother
* Fix global declaration order
Diffstat (limited to 'ext/bg/js/settings/main.js')
-rw-r--r-- | ext/bg/js/settings/main.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/settings/main.js b/ext/bg/js/settings/main.js index 37c6375d..382487eb 100644 --- a/ext/bg/js/settings/main.js +++ b/ext/bg/js/settings/main.js @@ -27,6 +27,7 @@ * PopupPreviewController * ProfileController * ScanInputsController + * ScanInputsSimpleController * SettingsController * StorageController * api @@ -96,6 +97,9 @@ async function setupEnvironmentInfo() { const scanInputsController = new ScanInputsController(settingsController); scanInputsController.prepare(); + const simpleScanningInputController = new ScanInputsSimpleController(settingsController); + simpleScanningInputController.prepare(); + yomichan.ready(); } catch (e) { yomichan.logError(e); |