1
0
Fork 0
forked from wry/wry

feat: add window animations

This commit is contained in:
atagen 2026-05-21 15:20:46 +10:00
parent a29937ebe8
commit ce14169d6b
29 changed files with 6957 additions and 114 deletions

View file

@ -628,6 +628,11 @@ fn schedule_async_upload(
{
back_tex_opt = None;
}
if let Some(back_tex) = &back_tex_opt
&& Rc::strong_count(back_tex) > 1
{
back_tex_opt = None;
}
let damage_full = || {
back.damage.clear();
back.damage.damage(slice::from_ref(&buf.rect));