Soften mark-read hover, localize refresh tooltip, and add changelog policy

This commit is contained in:
Meik
2026-03-05 13:51:39 +01:00
parent f51dd3b953
commit 83a80d8d82
7 changed files with 67 additions and 3 deletions

View File

@@ -541,6 +541,7 @@ namespace C4IT_CustomerPanel
}
UpdateNavigationHoverResource();
UpdateLocalizedTooltips();
ComputerInfoCtrl.SetAppearence();
@@ -564,7 +565,21 @@ namespace C4IT_CustomerPanel
if (Application.Current?.Resources == null)
return;
Application.Current.Resources["navigationHoverColor"] = GetNavigationHoverBrush();
SolidColorBrush navHover = GetNavigationHoverBrush();
Color subtleHoverColor = navHover.Color;
subtleHoverColor.A = 96;
Application.Current.Resources["navigationHoverColor"] = new SolidColorBrush(subtleHoverColor);
}
private void UpdateLocalizedTooltips()
{
if (RefreshIcon == null)
return;
string refreshToolTip = Properties.Resources.ResourceManager.GetString("refresh", Thread.CurrentThread.CurrentUICulture);
RefreshIcon.ToolTip = string.IsNullOrWhiteSpace(refreshToolTip)
? "Refresh"
: refreshToolTip;
}
private void ApplyWindowDraggableState()