mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-27 16:59:56 +01:00
Focus that Tab, F6 or a framework request gave an app's own egui widget kept the runtime's surrender rule (Never) while the runtime's press rule left that widget to egui, so a press elsewhere released it nowhere. The end hook of the pass that drew the widget leaves the focus to egui's rule, the app's `surrender_focus_on`; until then the press or click of the pass that gave the focus does not take it back. The stop of an app's own widget sets no Escape filter, so Escape releases it as egui does; the declared canvas keeps its filter.