aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/main.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-10-14 19:37:46 -0400
committerGitHub <noreply@github.com>2020-10-14 19:37:46 -0400
commit51904761cefe4d93a97ebf3c0c5bf127db2cbc69 (patch)
tree87dcf8e7a23170bd25429f5f43173eead31e04b1 /ext/bg/js/settings/main.js
parent429e3a5b74b9b0a077cff94ec1efd10c0a1940be (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.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/settings/main.js b/ext/bg/js/settings/main.js
index 3b2ff29d..b7d7879c 100644
--- a/ext/bg/js/settings/main.js
+++ b/ext/bg/js/settings/main.js
@@ -28,6 +28,7 @@
* PopupPreviewController
* ProfileController
* ScanInputsController
+ * ScanInputsSimpleController
* SettingsController
* StorageController
* api
@@ -100,6 +101,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);