fix: never evict the thumbnail being dragged

This commit is contained in:
elwrcl committed 2026-10-02 15:25:06 +03:00
1 parent c660001a6e
commit 7998efd3c2
3 files changed
+36 -8

No files matched your search

+4
View File
@@ -240,6 +240,10 @@ impl Thumbnail {
self.closing && (!self.visible() || anim_over(self.anim, Instant::now()))
}
pub fn is_dragging(&self) -> bool {
self.dragging
}
fn visible(&self) -> bool {
!self.hidden && !self.dragging
}