chore: simplify liveview abstraction

This commit is contained in:
Jonathan Kelley committed 2022-12-15 18:46:59 -08:00
1 parent 44dde38c63
commit 7790d2c065
8 files changed
+142 -82

No files matched your search

-3
View File
@@ -280,9 +280,6 @@ impl VirtualDom {
/// Whenever the VirtualDom "works", it will re-render this scope
pub fn mark_dirty(&mut self, id: ScopeId) {
let height = self.scopes[id.0].height;
println!("marking scope {} dirty with height {}", id.0, height);
self.dirty_scopes.insert(DirtyScope { height, id });
}