fix: improve perf by only refreshing shown thumbnails (closes #393)
This commit is contained in:
1 parent
1097aa22c9
commit
3c453f91ed
1 file changed
+2
-3
@@ -84,9 +84,8 @@ class Windows {
|
||||
}
|
||||
|
||||
static func refreshAllThumbnails() {
|
||||
list.forEachAsync { window in
|
||||
window.refreshThumbnail()
|
||||
}
|
||||
list.filter { $0.shouldShowTheUser }
|
||||
.forEachAsync { window in window.refreshThumbnail() }
|
||||
}
|
||||
|
||||
static func refreshWhichWindowsToShowTheUser(_ screen: NSScreen) {
|
||||
|
||||
Reference in new issue
Block a user