feat: custom window titlebar — remove native decorations, add WindowControls to TopBar
This commit is contained in:
@@ -17,6 +17,7 @@ import {
|
||||
} from "@/components/ui/dropdown-menu";
|
||||
import { useAppStore } from "@/stores/app-store";
|
||||
import { useBoardStore } from "@/stores/board-store";
|
||||
import { WindowControls } from "@/components/layout/WindowControls";
|
||||
|
||||
export function TopBar() {
|
||||
const view = useAppStore((s) => s.view);
|
||||
@@ -238,6 +239,7 @@ export function TopBar() {
|
||||
</TooltipTrigger>
|
||||
<TooltipContent>Settings</TooltipContent>
|
||||
</Tooltip>
|
||||
<WindowControls />
|
||||
</div>
|
||||
</header>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user