mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-27 11:46:51 -06:00
The window has a full-size content view, so every click in the title-bar band reaches the app and AppKit neither drags nor zooms the window. An empty part of the application bar now acts as the title bar: - A double-click follows System Settings > Desktop & Dock > "Double-click a window's title bar to": zoom (the default), minimize or do nothing. The setting (AppleActionOnDoubleClick) is read once per run with `defaults read` on a background thread; until then, or if reading fails, the bar zooms. - A drag moves the window (ViewportCommand::StartDrag). The empty area senses clicks only and sits behind the bar's controls, so Home, the menus, search, the workspace menu, Share and Discord keep their clicks, and a drag that starts on one of them does not move the window.