         return l
     }()
 
-    override var wantsUpdateLayer: Bool {
-        return true
-    }
-
     private func setup() {
         wantsLayer = true
         layer = CALayer()

        layoutProgressLayer()
    }

    override func updateLayer() {
        updateColor()
    }

    func startAnimating() {
        isAnimating = true
    }


        layoutProgressLayer()
        updateColor()

        NotificationCenter.default.addObserver(self,
                                               selector: #selector(updateColor),
                                               name: NSColor.systemColorsDidChangeNotification,
                                               object: nil)
    }

    private func makeProgressCircle() -> CGPath {
