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:
parent
0e3736e312
commit
eb75df5d99
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ fn main() {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
cx.activate(true);
|
||||||
|
|
||||||
story_workspace::open_new(app_state.clone(), cx, |_workspace, _cx| {
|
story_workspace::open_new(app_state.clone(), cx, |_workspace, _cx| {
|
||||||
// do something
|
// do something
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue