Make mark-all-read hover subtler using navbar hover brush
This commit is contained in:
@@ -540,6 +540,8 @@ namespace C4IT_CustomerPanel
|
||||
Application.Current.Resources.MergedDictionaries.Insert(1, themes[1]);
|
||||
}
|
||||
|
||||
UpdateNavigationHoverResource();
|
||||
|
||||
ComputerInfoCtrl.SetAppearence();
|
||||
|
||||
if (TryFindResource("navForeground") is SolidColorBrush navForeground)
|
||||
@@ -557,6 +559,14 @@ namespace C4IT_CustomerPanel
|
||||
}
|
||||
}
|
||||
|
||||
private void UpdateNavigationHoverResource()
|
||||
{
|
||||
if (Application.Current?.Resources == null)
|
||||
return;
|
||||
|
||||
Application.Current.Resources["navigationHoverColor"] = GetNavigationHoverBrush();
|
||||
}
|
||||
|
||||
private void ApplyWindowDraggableState()
|
||||
{
|
||||
bool draggable = ConfigSettings?.GetConfig()?._isDraggable ?? true;
|
||||
|
||||
Reference in New Issue
Block a user