fix canvas always-dirty hack

This commit is contained in:
galister
2024-01-28 11:00:04 +01:00
parent 8c98da4305
commit 53c48d4f04

View File

@@ -399,7 +399,7 @@ impl<D, S> OverlayRenderer for Canvas<D, S> {
} }
if !dirty { if !dirty {
//return; //FIXME return;
} }
/* /*
@@ -496,7 +496,7 @@ impl<D, S> Control<D, S> {
fg_color: Vec3::ONE, fg_color: Vec3::ONE,
bg_color: Vec3::ZERO, bg_color: Vec3::ZERO,
text: Arc::from(""), text: Arc::from(""),
dirty: false, dirty: true,
size: 24, size: 24,
state: None, state: None,
on_update: None, on_update: None,