File tree Expand file tree Collapse file tree
components/titlebar/controls Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import {
1212} from "solid-js" ;
1313
1414import { AbsoluteInsetLoader } from "~/components/Loader" ;
15- import CaptionControlsMacOS from "~/components/titlebar/controls/CaptionControlsMacOS" ;
1615import CaptionControlsWindows11 from "~/components/titlebar/controls/CaptionControlsWindows11" ;
1716import { applyMacOSWindowMaterial } from "~/utils/macos-window-material" ;
1817import { initializeTitlebar } from "~/utils/titlebar-state" ;
@@ -115,14 +114,8 @@ function Header() {
115114 data-tauri-drag-region = "deep"
116115 >
117116 { ctx . state ( ) ?. items }
118- { isWindows && < CaptionControlsWindows11 class = "!ml-auto" /> }
119- { isMacOS && (
120- < CaptionControlsMacOS
121- class = "!mr-auto ml-3"
122- showMinimize = { false }
123- showZoom = { false }
124- />
125- ) }
117+ { isWindows && < CaptionControlsWindows11 class = "ml-auto!" /> }
118+ { isMacOS && < div class = "h-full w-[64px]" /> }
126119 </ header >
127120 ) ;
128121}
You can’t perform that action at this time.
0 commit comments