fix: never evict the thumbnail being dragged
This commit is contained in:
1 parent
c660001a6e
commit
7998efd3c2
3 files changed
+36
-8
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user