From ad600884fc9daeeb22c3d465e14a7e86af5092c0 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 17 Feb 2018 22:29:40 -0800 Subject: [PATCH] Skip drawing a light gray background for unloaded (or nonexistent) avatars in the timeline. --- .../MainWindow/Timeline/Cell/TimelineTableCellView.swift | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Evergreen/MainWindow/Timeline/Cell/TimelineTableCellView.swift b/Evergreen/MainWindow/Timeline/Cell/TimelineTableCellView.swift index f200b1cb3..82ace3436 100644 --- a/Evergreen/MainWindow/Timeline/Cell/TimelineTableCellView.swift +++ b/Evergreen/MainWindow/Timeline/Cell/TimelineTableCellView.swift @@ -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() {