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...
This commit is contained in:
Michael Angerman 2024-07-31 20:03:40 -07:00 committed by GitHub
parent 0e3736e312
commit eb75df5d99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,6 +52,7 @@ fn main() {
],
},
]);
cx.activate(true);
story_workspace::open_new(app_state.clone(), cx, |_workspace, _cx| {
// do something