From 5854fadaf065ca6c7aabe999c211f804d12eecdc Mon Sep 17 00:00:00 2001 From: Guillaume Louel Date: Thu, 10 Jun 2021 14:33:32 +0200 Subject: [PATCH] Remove black background under city name... --- Aerial/Source/Views/Layers/Weather/ConditionLayer.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Aerial/Source/Views/Layers/Weather/ConditionLayer.swift b/Aerial/Source/Views/Layers/Weather/ConditionLayer.swift index eab5f3a9..a877d32b 100644 --- a/Aerial/Source/Views/Layers/Weather/ConditionLayer.swift +++ b/Aerial/Source/Views/Layers/Weather/ConditionLayer.swift @@ -95,7 +95,6 @@ class ConditionLayer: CALayer { func makeCityNameBlock() -> CATextLayer { let temp = CATextLayer() temp.isWrapped = true - temp.backgroundColor = .black temp.string = condition!.name (temp.font, temp.fontSize) = temp.makeFont(name: PrefsInfo.weather.fontName, size: PrefsInfo.weather.fontSize/1.5) temp.alignmentMode = .center