Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#83099)

hermes-seaeye[bot]54e33c95a64a
diff --git a/apps/desktop/src/app/contrib/wiring.tsx b/apps/desktop/src/app/contrib/wiring.tsx
index 88f55cc7180..8825d8e8adf 100644
--- a/apps/desktop/src/app/contrib/wiring.tsx
+++ b/apps/desktop/src/app/contrib/wiring.tsx
@@ -980,9 +980,7 @@ export function ContribWiring({ children }: { children: ReactNode }) {
const systemToolsWidth = titlebarToolsWidthCss(SYSTEM_TOOL_COUNT)
const titlebarToolsWidth =
- paneToolCount > 0
- ? `calc(${systemToolsWidth} + ${titlebarToolsWidthCss(paneToolCount)})`
- : systemToolsWidth
+ paneToolCount > 0 ? `calc(${systemToolsWidth} + ${titlebarToolsWidthCss(paneToolCount)})` : systemToolsWidth
return (
<ContribWiringContext.Provider value={api}>
diff --git a/apps/desktop/src/app/shell/titlebar-controls.tsx b/apps/desktop/src/app/shell/titlebar-controls.tsx
index dd51a3f5176..b0b6b832ca8 100644
--- a/apps/desktop/src/app/shell/titlebar-controls.tsx
+++ b/apps/desktop/src/app/shell/titlebar-controls.tsx
@@ -22,7 +22,12 @@ import {
import { appViewForPath, isOverlayView } from '../routes'
-import { TITLEBAR_ICON_BADGE_SCALE, titlebarButtonClass, titlebarIconSizeCss, titlebarToolClusterClass } from './titlebar'
+import {
+ TITLEBAR_ICON_BADGE_SCALE,
+ titlebarButtonClass,
+ titlebarIconSizeCss,
+ titlebarToolClusterClass
+} from './titlebar'
import { TitlebarIcon } from './titlebar-icon'
export interface TitlebarTool {
diff --git a/apps/desktop/src/app/shell/titlebar.ts b/apps/desktop/src/app/shell/titlebar.ts
index 63e902d3bfd..1099ad5eb91 100644
--- a/apps/desktop/src/app/shell/titlebar.ts
+++ b/apps/desktop/src/app/shell/titlebar.ts
@@ -15,6 +15,7 @@ export const TITLEBAR_CONTROLS_TOP = (TITLEBAR_HEIGHT - TITLEBAR_CONTROL_HEIGHT)
export function titlebarIconSizeCss(scale = 1): string {
return `${TITLEBAR_ICON_SIZE * scale}px`
}
+
export const TITLEBAR_FALLBACK_WINDOW_BUTTON_X = 24
// Edge inset used when no left-side native controls take up that space —
// Windows/Linux (native overlay is on the right) and macOS fullscreen