Use background-derived hover color for nav buttons

This commit is contained in:
Meik
2026-03-05 12:45:01 +01:00
parent fe70433346
commit 3a279a1b26

View File

@@ -1841,7 +1841,8 @@ namespace C4IT_CustomerPanel
if (!(sender is Button bu))
return;
bu.Background = System.Windows.Media.Brushes.Transparent;
Color hoverColor = ConfigSettings.GetButtonHoverColor(ConfigSettings.GetBackgroundColor().Color);
bu.Background = new SolidColorBrush(hoverColor);
}
catch (Exception exp)
{