Skip to content

The agent that grows with you

fix(desktop): sort HUD windowing imports for eslint

Brooklyn Nicholson652f5d740cb7
diff --git a/apps/desktop/electron/hud-overlay.test.ts b/apps/desktop/electron/hud-overlay.test.ts
index 0a6eec281bf..351a2a741a3 100644
--- a/apps/desktop/electron/hud-overlay.test.ts
+++ b/apps/desktop/electron/hud-overlay.test.ts
@@ -6,6 +6,7 @@ import { applyHudElectronOverlay } from './hud-overlay'
test('macOS uses the floating panel level and all-spaces visibility', () => {
const calls: string[] = []
+
const win = {
setAlwaysOnTop(flag: boolean, level?: string) {
calls.push(`alwaysOnTop:${flag}:${level}`)
@@ -23,6 +24,7 @@ test('macOS uses the floating panel level and all-spaces visibility', () => {
test('Linux and Windows only set the screen-saver always-on-top level', () => {
for (const platform of ['linux', 'win32']) {
const calls: string[] = []
+
const win = {
setAlwaysOnTop(flag: boolean, level?: string) {
calls.push(`alwaysOnTop:${flag}:${level}`)
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.ts
index 2786d9fe2f8..2046c1c84c5 100644
--- a/apps/desktop/electron/main.ts
+++ b/apps/desktop/electron/main.ts
@@ -205,12 +205,12 @@ import {
import { cursorPointInWindow } from './hud-cursor'
import { startHudGameOverlayWatch } from './hud-game-overlay'
import { applyHudResetBounds, defaultHudBounds } from './hud-geometry'
-import { applyHudElectronOverlay, promoteHudOverlay } from './hud-overlay'
-import { resolveHudWindowing } from './hud-windowing'
import { registerHudIpc } from './hud-ipc'
+import { applyHudElectronOverlay, promoteHudOverlay } from './hud-overlay'
import { snapHudBounds } from './hud-snap'
import { createHudSnapShortcut } from './hud-snap-shortcut'
import { buildHudWindowUrl } from './hud-url'
+import { resolveHudWindowing } from './hud-windowing'
import { createLinkTitleWindow, guardLinkTitleSession, readLinkTitleWindowTitle } from './link-title-window'
import { ensureMainWindow } from './main-window-lifecycle'
import { createMediaProtocolHandler, MEDIA_PROTOCOL } from './media-protocol'