mirror of
https://github.com/storytold/craft-libs.git
synced 2026-10-31 23:59:16 +00:00
Floating::new, single and stack draw a fresh id on each call, so a layout built anew each frame opened a new OS window each frame. with_id gives such a layout the same windows every frame. Debug builds log a warning once when three frames running replace every native window with new ones holding the same panels.