mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-08-29 01:31:04 +00:00
feat: optimisations
This commit is contained in:
@@ -7,8 +7,6 @@ import { settingsState } from "@/seqta/utils/listeners/SettingsState";
|
||||
// UI and theme management
|
||||
import pageState from "@/pageState.js?script&iife";
|
||||
import { extensionPageScriptUrl } from "@/lib/extensionPageScriptUrl";
|
||||
import { installSeqtaMenuColourPatch } from "@/seqta/utils/patchSeqtaMenuUpdateColours";
|
||||
import { installThemeImagePagePatch } from "@/seqta/utils/patchThemeImagesPageContext";
|
||||
|
||||
// Stylesheets
|
||||
import injectedCSS from "@/css/injected.scss?inline";
|
||||
@@ -18,8 +16,6 @@ export async function main() {
|
||||
try {
|
||||
if (settingsState.onoff) {
|
||||
injectPageState();
|
||||
installSeqtaMenuColourPatch();
|
||||
installThemeImagePagePatch();
|
||||
|
||||
// Rather permanent FIX for bug! -> this is a hack to get the injected.css file to have HMR in development mode as this import system is currently broken with crxjs
|
||||
if (import.meta.env.MODE === "development") {
|
||||
|
||||
Reference in New Issue
Block a user