From eb75df5d996ab59b57b8316ce03443fd757edceb Mon Sep 17 00:00:00 2001 From: Michael Angerman <1809991+stormasm@users.noreply.github.com> Date: Wed, 31 Jul 2024 20:03:40 -0700 Subject: [PATCH] Update demo application to activate on startup (#92) When I start up *gpui-component* its nice to be able to see that application show up, similar to the way zed editor works upon startup... --- crates/app/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/app/src/main.rs b/crates/app/src/main.rs index 38f4b481..41027bc1 100644 --- a/crates/app/src/main.rs +++ b/crates/app/src/main.rs @@ -52,6 +52,7 @@ fn main() { ], }, ]); + cx.activate(true); story_workspace::open_new(app_state.clone(), cx, |_workspace, _cx| { // do something