mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-21 15:00:42 +01:00
Bumps craft-ui and craft-window to craft-libs 1b34eba4 and replaces the app's own dialog, shortcut and quit code with the shared crates. File dialogs go through craft-dialogs and no longer stop the frame. An action that needs a path asks for it and continues when the dialog answers. An answer that acts on the project does nothing, with a toast, when another project was opened meanwhile. The browser build keeps its pickers and the startup and crash message boxes stay blocking. Shortcuts run through craft-keymap's dispatcher, in the main window and in floating panels. Saved shortcuts keep their stored form, and the Keyboard shortcuts window and the shortcut labels do not change. A shortcut on a symbol that needs Shift is recorded without Shift, and saved shortcuts in the old form still run. A shortcut now runs only on its exact chord: an extra Shift or Alt no longer runs a plain-key shortcut. A window close quits through craft-quit, and the close check runs in logic, so closing a minimized window with unsaved changes restores it and asks. A close during a stroke finishes the stroke and asks. The macOS app menu comes from craft-menu. The unsaved-changes prompt goes on once its Save dialog has saved the project, and stays open after Cancel or a failed save. The window frame guard on Windows and the title bar's buttons stay in the app, since craft-libs has no code for them.