@@ -39,18 +39,19 @@ public MainPage()
39
39
Window . Current . SetTitleBar ( DragArea ) ;
40
40
var titleBar = ApplicationView . GetForCurrentView ( ) . TitleBar ;
41
41
titleBar . ButtonBackgroundColor = Color . FromArgb ( 0 , 255 , 255 , 255 ) ;
42
- titleBar . ButtonHoverBackgroundColor = Color . FromArgb ( 75 , 10 , 10 , 10 ) ;
42
+ titleBar . ButtonInactiveBackgroundColor = Color . FromArgb ( 0 , 255 , 255 , 255 ) ;
43
43
titleBar . ButtonHoverBackgroundColor = Color . FromArgb ( 75 , 10 , 10 , 10 ) ;
44
44
nv = navView ;
45
45
accessibleAutoSuggestBox = auto_suggest ;
46
46
PopulateNavViewWithExternalDrives ( ) ;
47
47
permissionBox = PermissionDialog ;
48
48
49
49
50
- //make the minimize, maximize and close button visible in light theme
50
+ // Make the minimize, maximize, and close button visible in different themes
51
51
if ( App . Current . RequestedTheme == ApplicationTheme . Dark )
52
52
{
53
53
titleBar . ButtonForegroundColor = Colors . White ;
54
+ titleBar . ButtonHoverBackgroundColor = Color . FromArgb ( 75 , 240 , 240 , 240 ) ;
54
55
}
55
56
else if ( App . Current . RequestedTheme == ApplicationTheme . Light )
56
57
{
@@ -60,6 +61,7 @@ public MainPage()
60
61
if ( this . RequestedTheme == ElementTheme . Dark )
61
62
{
62
63
titleBar . ButtonForegroundColor = Colors . White ;
64
+ titleBar . ButtonHoverBackgroundColor = Color . FromArgb ( 75 , 240 , 240 , 240 ) ;
63
65
}
64
66
else if ( this . RequestedTheme == ElementTheme . Light )
65
67
{
0 commit comments