Merge pull request #892 from tylerjenningsw/fix/text-click-away

Text: stop capturing keyboard input after clicking away (#831)
This commit is contained in:
Brandon Thomas
2026-10-12 04:20:45 -04:00
4 changed files with 163 additions and 6 deletions
+1
View File
@@ -274,6 +274,7 @@ impl EffectcraftApp {
}
DockAction::Focus(p) => {
self.ui.focused = p;
panels::viewer_text::panel_clicked(self, &ctx, p);
// A click in (or on the tab of) another Composition viewer makes it active.
if let Some(id) = panels::viewers::id_of(p) {
panels::viewers::activate(self, &ctx, id);