Skip drawing a light gray background for unloaded (or nonexistent) avatars in the timeline.
This commit is contained in:
parent
203637b30e
commit
ad600884fc
@ -222,13 +222,6 @@ class TimelineTableCellView: NSTableCellView {
|
|||||||
|
|
||||||
avatarImageView.wantsLayer = true
|
avatarImageView.wantsLayer = true
|
||||||
avatarImageView.layer?.cornerRadius = cellAppearance.avatarCornerRadius
|
avatarImageView.layer?.cornerRadius = cellAppearance.avatarCornerRadius
|
||||||
if avatarImageView.image == nil {
|
|
||||||
avatarImageView.layer?.backgroundColor = NSColor(calibratedWhite: 0.0, alpha: 0.05).cgColor
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
avatarImageView.layer?.backgroundColor = NSColor.clear.cgColor
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private func updateFavicon() {
|
private func updateFavicon() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user