fix canvas always-dirty hack
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user