From 9bd9fcce93c30f4bfe92693af98bcc7e91125778 Mon Sep 17 00:00:00 2001 From: Abhi Date: Sun, 23 Apr 2023 15:17:13 -0400 Subject: [PATCH] 10.14 compatibility. --- Clocker/Panel/UI/PanelTableView.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Clocker/Panel/UI/PanelTableView.swift b/Clocker/Panel/UI/PanelTableView.swift index 8f6bdce..57447f5 100644 --- a/Clocker/Panel/UI/PanelTableView.swift +++ b/Clocker/Panel/UI/PanelTableView.swift @@ -66,7 +66,8 @@ class PanelTableView: NSTableView { if row != hoverRow { hoverRow = row panelDelegate?.tableView(self, didHoverOver: hoverRow) - setNeedsDisplay() + // setNeedsDisplay is deprecated in 10.14 + needsDisplay = true } }