Work on constraint layout

This commit is contained in:
Michael Mikovsky
2025-10-29 14:18:23 -06:00
parent b46f2683ff
commit 1341c29dd1
10 changed files with 530 additions and 59 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
mod cursors;
use std::time::Instant;
pub use cursors::{Cursor, set_cursor};
use wasm_bindgen::prelude::wasm_bindgen;
@@ -68,7 +70,7 @@ impl App {
// App events
impl App {
pub fn resize(&mut self, width: u32, height: u32) {
pub fn resize(&mut self, width: usize, height: usize) {
self.renderer.resize(width, height);
self.draw();
}