1
0
Fork 0
forked from wry/wry

autocommit 2022-04-11 13:11:56 CEST

This commit is contained in:
Julian Orth 2022-04-11 13:11:56 +02:00
parent 6b3316e920
commit 86ca98c38a
11 changed files with 23 additions and 12 deletions

View file

@ -19,6 +19,7 @@ pub fn handle(state: &Rc<State>, connector: &Rc<dyn Connector>) {
connector: connector.clone(),
handler: Default::default(),
connected: Cell::new(false),
name: connector.kernel_id().to_string(),
});
let oh = ConnectorHandler {
id,
@ -120,6 +121,7 @@ impl ConnectorHandler {
if let Some(config) = self.state.config.get() {
config.connector_connected(self.id);
}
on.update_render_data();
self.state.root.outputs.set(self.id, on.clone());
self.state.add_global(&global);
'outer: loop {