Skip drawing a light gray background for unloaded (or nonexistent) avatars in the timeline.

This commit is contained in:
Brent Simmons 2018-02-17 22:29:40 -08:00
parent 203637b30e
commit ad600884fc
1 changed files with 0 additions and 7 deletions

View File

@ -222,13 +222,6 @@ class TimelineTableCellView: NSTableCellView {
avatarImageView.wantsLayer = true
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() {