mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-07 02:51:37 +00:00
Split out of #2073. winit sends no pointer events during a drag from another application on macOS, so a Finder drop had no pointer and never found the frame under it. The host now gives the pointer's place on the screen (`Services::pointer`, `PointerFn`: the system's points before the UI scale, from `NSEvent.mouseLocation`), and `take_pending_drops` uses it for the files that came without a pointer, divided by egui's zoom factor and made relative to the window.