We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 850fe28 commit d377b3dCopy full SHA for d377b3d
src/ui/main-window/ThumbnailsView.swift
@@ -3,8 +3,8 @@ import Cocoa
3
class ThumbnailsView {
4
var scrollView: ScrollView!
5
var contentView: EffectView!
6
- static var recycledViews = [ThumbnailView]()
7
var rows = [[ThumbnailView]]()
+ static var recycledViews = [ThumbnailView]()
8
static var thumbnailsWidth = CGFloat(0.0)
9
static var thumbnailsHeight = CGFloat(0.0)
10
@@ -26,6 +26,7 @@ class ThumbnailsView {
26
NSScreen.updatePreferred()
27
Appearance.update()
28
updateBackgroundView()
29
+ App.app.thumbnailsPanel.contentView = contentView
30
for i in 0..<ThumbnailsView.recycledViews.count {
31
ThumbnailsView.recycledViews[i] = ThumbnailView()
32
}
0 commit comments