Scale avatar images down — they might be up to twice as large as expected.
This commit is contained in:
parent
1ee0ab5a73
commit
36c6c70ba2
|
@ -21,6 +21,7 @@ class TimelineTableCellView: NSTableCellView {
|
||||||
private lazy var avatarImageView: NSImageView = {
|
private lazy var avatarImageView: NSImageView = {
|
||||||
let imageView = TimelineTableCellView.imageView(with: AppImages.genericFeedImage, scaling: .scaleNone)
|
let imageView = TimelineTableCellView.imageView(with: AppImages.genericFeedImage, scaling: .scaleNone)
|
||||||
imageView.imageAlignment = .alignTop
|
imageView.imageAlignment = .alignTop
|
||||||
|
imageView.imageScaling = .scaleProportionallyDown
|
||||||
imageView.wantsLayer = true
|
imageView.wantsLayer = true
|
||||||
return imageView
|
return imageView
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Reference in New Issue