From 0cdd70b2d3d74bef67aa99698aaa9715f4f2faf8 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Fri, 22 Feb 2019 00:32:44 +0100 Subject: [PATCH] Autodetection settings page --- src/common/enums/anti-gradient-mode.enum.js | 2 +- src/options/App.vue | 3 + src/options/autodetection-settings.vue | 383 +++++++++++++++++++- 3 files changed, 385 insertions(+), 3 deletions(-) diff --git a/src/common/enums/anti-gradient-mode.enum.js b/src/common/enums/anti-gradient-mode.enum.js index 6a2787f..c8924da 100644 --- a/src/common/enums/anti-gradient-mode.enum.js +++ b/src/common/enums/anti-gradient-mode.enum.js @@ -4,4 +4,4 @@ var AntiGradientMode = Object.freeze({ Strict: 2 }); -export default EdgeDetectPrimaryDirection; +export default AntiGradientMode; diff --git a/src/options/App.vue b/src/options/App.vue index 3de51b4..04c227b 100644 --- a/src/options/App.vue +++ b/src/options/App.vue @@ -110,6 +110,8 @@ import GeneralSettings from './general-settings'; import ControlsSettings from './controls-settings/controls-settings'; import AddEditActionPopup from './controls-settings/add-edit-action-popup'; +import AutodetectionSettings from './autodetection-settings'; + export default { name: "Ultrawidify", @@ -133,6 +135,7 @@ export default { GeneralSettings, ControlsSettings, AddEditActionPopup, + AutodetectionSettings, }, methods: { setSelectedTab(newTab) { diff --git a/src/options/autodetection-settings.vue b/src/options/autodetection-settings.vue index dd7ed59..872f3fc 100644 --- a/src/options/autodetection-settings.vue +++ b/src/options/autodetection-settings.vue @@ -1,9 +1,388 @@