feat: custom window titlebar — remove native decorations, add WindowControls to TopBar

This commit is contained in:
Your Name
2026-02-15 20:56:55 +02:00
parent 4b70afae5f
commit af529a2d99
3 changed files with 77 additions and 1 deletions

View File

@@ -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>
);