mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix: building working, (lots of bugs)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import browser from 'webextension-polyfill';
|
||||
import { SettingsState } from '@/types/storage';
|
||||
import type { SettingsState } from '@/types/storage';
|
||||
|
||||
type ChangeListener = (newValue: any, oldValue: any) => void;
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
} from '@/SEQTA';
|
||||
import { updateBgDurations } from '@/seqta/ui/Animation';
|
||||
import browser from 'webextension-polyfill';
|
||||
import { CustomShortcut } from '@/types/storage';
|
||||
import type { CustomShortcut } from '@/types/storage';
|
||||
|
||||
export class StorageChangeHandler {
|
||||
constructor() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
export default function sendThemeUpdate() {
|
||||
const iframe = document.getElementById('ExtensionIframe') as HTMLIFrameElement
|
||||
/* const iframe = document.getElementById('ExtensionIframe') as HTMLIFrameElement
|
||||
if (iframe) {
|
||||
iframe.contentWindow?.postMessage({ type: 'themeChanged' }, '*');
|
||||
}
|
||||
} */
|
||||
}
|
||||
Reference in New Issue
Block a user