Simplify import paths

This commit is contained in:
redphx
2024-05-01 22:01:39 +07:00
parent 006e21f477
commit 0114108bdf
29 changed files with 167 additions and 163 deletions

View File

@@ -1,16 +1,16 @@
import { GamepadKey } from "./definitions";
import { CE, createButton, ButtonStyle } from "../../utils/html";
import { t } from "../../utils/translation";
import { Dialog } from "../dialog";
import { getPref, setPref, PrefKey } from "../../utils/preferences";
import { CE, createButton, ButtonStyle } from "@/utils/html";
import { t } from "@/utils/translation";
import { Dialog } from "@/modules/dialog";
import { getPref, setPref, PrefKey } from "@/utils/preferences";
import { MkbPresetKey, GamepadKeyName } from "./definitions";
import { KeyHelper } from "./key-helper";
import { MkbPreset } from "./mkb-preset";
import { MkbHandler } from "./mkb-handler";
import { LocalDb } from "../../utils/local-db";
import { Icon } from "../../utils/html";
import { SettingElement } from "../../utils/settings";
import type { MkbPresetData, MkbStoredPresets } from "../../types/mkb";
import { LocalDb } from "@/utils/local-db";
import { Icon } from "@/utils/html";
import { SettingElement } from "@/utils/settings";
import type { MkbPresetData, MkbStoredPresets } from "@/types/mkb";
type MkbRemapperElements = {