Scale avatar images down — they might be up to twice as large as expected.

This commit is contained in:
Brent Simmons 2019-05-17 23:02:48 -07:00
parent 1ee0ab5a73
commit 36c6c70ba2
1 changed files with 1 additions and 0 deletions

View File

@ -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
}() }()