mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-27 12:27:04 -06:00
* Pin craft-libs at craft-libs#312's head (4dc543c) for the dock-column move * Side panels dock in left and right dock columns Tool Sets sits in a left dock column and Layers above Properties in a right one, at the widths of the old side frames. Palettes dock only into those columns: a window edge without a dock makes one, and neither the drawing nor the top and bottom edges take a drop. A palette opened with no recorded place goes into its dock group (External References below Properties). Iconic columns show CADCraft's own code-drawn icons. * Workspace file: dock layout version; split-frame layouts reset to the default The workspace file saves dockingVersion next to the panel layout. A layout saved without it, or with an older one, is dropped with its hidden panels on load; the other workspace settings are kept. * Floating panels open in their own OS windows on the desktop - craft-ui's native-windows feature is on for the desktop app (not the web build) and for the UI crate's tests. - While the Save changes prompt, Drawing Recovery or another egui modal is up, the panels' OS windows take no input. - Keys, text and clipboard events typed in a panel's OS window go into the main window's next input, so shortcuts, the command line and the canvas get them. - Files dropped on a panel's OS window open like files dropped on the main window. * Floating windows stay below the macOS title row A drag in that row moves the whole app window, so a floating panel drawn over it could not be moved or used. The dock area keeps floating windows, flyouts and drag ghosts below it. * Opening a floating panel from a menu or command brings its window to the front * Workspace saves are spaced at least 500 ms apart, so dragging a floating window doesn't write the file every frame * Pin craft-libs at #312's head b6d35e28 * Pin craft-libs at #313's head cdc67131 (result-rectangle drop preview) * The title row is craft-window's title bar Its empty part moves the window and follows the macOS double-click setting, and does nothing in full screen. On macOS the window's movable flag follows the pointer, so AppKit's title-band drag leaves the window still under the row's controls and under floating panels. Floating panels may therefore go over the title row again. craft-window is pinned at craft-libs#316's head, which is not stacked on the craft-ui pin. * Pin craft-libs at 189b4ffe (#313 and #316 merged) * macOS menu choices and their shortcuts run at once A menu choice is no window event, so the app ran it only at its next frame for another reason: File ▸ Close (Cmd+W) on an edited drawing showed "Save changes?" and dimmed the floating palettes a second or two late. The menu's event handler now wakes the app. * Pin craft-libs at pin-round3 d24e4bcc * Cargo.lock and the native-window test helper after the egui 0.37 merge * Pin craft-libs at #334 (4638095): the title bar's empty area takes no keyboard focus * Pin craft-libs at main 271594c0 * A modifier the main window changes while panel keys are forwarded is the one put back