Replace WindowContext::notify
with WindowContext::refresh
This commit is contained in:
parent
d0c101cb6e
commit
2923b71f83
11 changed files with 35 additions and 30 deletions
|
@ -290,6 +290,7 @@ impl Element for AnyView {
|
|||
&& cache_key.stacking_order == *cx.stacking_order()
|
||||
&& cache_key.text_style == cx.text_style()
|
||||
&& !cx.window.dirty_views.contains(&self.entity_id())
|
||||
&& !cx.window.refreshing
|
||||
{
|
||||
cx.reuse_geometry();
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue