From 2f23a9d7650afb0d6320e0b65917d9f55a29e08e Mon Sep 17 00:00:00 2001 From: Abhi Date: Sat, 22 Apr 2023 16:11:47 -0400 Subject: [PATCH] Do not show timezone hover string if slider value != 0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Addressing feedback: Interestingly when the “TimeScroller” is not on now (so it is in the future or the past and has the small X on its top right) and when I go over the locations with my moue the format stays in the “GMT-X” format and doesn’t go back. So there is some inconsistency that would be good to iron-out for a better app feel --- Clocker/Panel/UI/TimezoneDataSource.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Clocker/Panel/UI/TimezoneDataSource.swift b/Clocker/Panel/UI/TimezoneDataSource.swift index 7eff348..602ae9e 100644 --- a/Clocker/Panel/UI/TimezoneDataSource.swift +++ b/Clocker/Panel/UI/TimezoneDataSource.swift @@ -205,7 +205,7 @@ extension TimezoneDataSource: PanelTableViewDelegate { } rowCellView.extraOptions.alphaValue = (rowIndex == row) ? 1 : 0.5 - if rowIndex == row, let hoverString = hoverStringForSelectedRow(row: row) { + if rowIndex == row, let hoverString = hoverStringForSelectedRow(row: row), sliderValue == 0 { rowCellView.relativeDate.stringValue = hoverString } }