mirror of
https://github.com/storytold/cadcraft.git
synced 2026-11-11 04:51:12 -06:00
On macOS the Open and Save panels ran modally inside winit's event handler, and resizing one aborted the app (#1527). Every file dialog now goes through CadApp::pick_then / pick_then_open. On macOS, Services::start_pick shows the dialog as a sheet on the window and the answer is acted on in a later frame. The answer is bound to the drawing that asked for it. Windows and Linux are unchanged. Fixes #1527 Co-authored-by: mocenigo <4894657+mocenigo@users.noreply.github.com>