Merge branch 'main' into force-directed-graph

This commit is contained in:
mars 2022-11-04 23:22:55 -06:00
commit 33bf08d4c1
3 changed files with 7 additions and 0 deletions

View File

@ -59,6 +59,7 @@ impl Window {
let now = Instant::now();
let dt = now.duration_since(self.last_update).as_secs_f32();
self.panel.update(dt);
self.last_update = now;
}
pub fn draw(&mut self) {

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SDPX-License-Identifier: LGPL-3.0-or-later
//! This module defines backends for WebAssembly execution.
//!
//! Canary is designed to support multiple WebAssembly runtimes for different

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SDPX-License-Identifier: LGPL-3.0-or-later
use std::ops::DerefMut;
use super::{Arc, Backend, Instance, PanelId};