Replace WindowContext::notify with WindowContext::refresh

This commit is contained in:
Antonio Scandurra 2024-01-10 17:27:02 +01:00
parent d0c101cb6e
commit 2923b71f83
11 changed files with 35 additions and 30 deletions

View file

@ -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;