Browse Source

ref: move hotkeyInput to utils

Sv443 1 year ago
parent
commit
f96114ae19
3 changed files with 2 additions and 2 deletions
  1. 1 1
      src/menu/menu_old.ts
  2. 0 0
      src/utils/hotkeyInput.css
  3. 1 1
      src/utils/hotkeyInput.ts

+ 1 - 1
src/menu/menu_old.ts

@@ -7,7 +7,7 @@ import { formatVersion } from "../config";
 import { emitSiteEvent, siteEvents } from "../siteEvents";
 import type { FeatureCategory, FeatureKey, FeatureConfig, HotkeyObj, FeatureInfo } from "../types";
 import "./menu_old.css";
-import { createHotkeyInput } from "./hotkeyInput";
+import { createHotkeyInput } from "../utils/hotkeyInput";
 import pkg from "../../package.json" assert { type: "json" };
 
 //#MARKER create menu elements

+ 0 - 0
src/menu/hotkeyInput.css → src/utils/hotkeyInput.css


+ 1 - 1
src/menu/hotkeyInput.ts → src/utils/hotkeyInput.ts

@@ -1,6 +1,6 @@
 import { getFeatures } from "../config";
 import { siteEvents } from "../siteEvents";
-import { t } from "../utils";
+import { t } from ".";
 import type { HotkeyObj } from "../types";
 import "./hotkeyInput.css";