mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 12:32:10 +01:00
Workspace::apply_all recorded a floating panel's docked place only when the panel had been docked in the layout before the action. A closed panel that floated by Action::Float alone got no record, so Dock Panel had no place to return it to. An app that wanted the old place had to open the panel first, which made it the front tab of its old group before it floated. Floating a hidden panel now records the location it would reopen at, the same record that opening it and then floating it gives, without reopening it in its old group. A panel that would reopen in a floating window gets no record, as a panel floated from a floating window gets none.