diff --git a/src/components/FeatureSlider.vue b/src/components/FeatureSlider.vue index 5545b49..b9aa5c9 100644 --- a/src/components/FeatureSlider.vue +++ b/src/components/FeatureSlider.vue @@ -2,6 +2,7 @@ import { defineComponent } from "vue"; import monitorManager from "../monitor"; import sheet from "../style.module.sass"; +import "../polyfill"; const iconMap = { luminance: "\uE706", diff --git a/src/main.ts b/src/main.ts index 5cd59d3..19924b4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -3,7 +3,6 @@ import { watchThrottled } from "./watchers"; import monitorManager from "./monitor"; import BrightnessPanel from "./components/BrightnessPanel.vue"; import panelState from "./wm"; -import "./polyfill"; import "./style"; import "./style.global.sass"; diff --git a/src/wm.ts b/src/wm.ts index efb75aa..25605c7 100644 --- a/src/wm.ts +++ b/src/wm.ts @@ -4,6 +4,7 @@ import { LogicalPosition, LogicalSize, PhysicalPosition, appWindow } from "@taur import { reactive, watch, watchEffect, ref, computed } from "vue"; import { watchDelayed, watchThrottled } from "./watchers"; import settings from "./settings"; +import "./polyfill"; const panelState = reactive({ width: 350,