sort of bandaid patch over resizing

This commit is contained in:
2025-11-11 14:45:06 -05:00
parent afabdc52a2
commit 8755c04feb
2 changed files with 10 additions and 6 deletions

View File

@@ -125,11 +125,12 @@ impl Ui {
}
fn redraw_size(&mut self) {
let mut ctx = PainterCtx::new(&mut self.data);
let dep = ctx.px_dependent.clone();
for id in dep {
ctx.redraw(id);
}
// let mut ctx = PainterCtx::new(&mut self.data);
// let dep = ctx.px_dependent.clone();
// for id in dep {
// ctx.redraw(id);
// }
self.redraw_all();
}
fn redraw_updates(&mut self) {