mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
[MWB] fix machine connection status highlighting (#26439)
This commit is contained in:
@@ -42,7 +42,7 @@ namespace Microsoft.PowerToys.Settings.UI.ViewModels
|
|||||||
|
|
||||||
private static readonly Dictionary<SocketStatus, Brush> StatusColors = new Dictionary<SocketStatus, Brush>()
|
private static readonly Dictionary<SocketStatus, Brush> StatusColors = new Dictionary<SocketStatus, Brush>()
|
||||||
{
|
{
|
||||||
{ SocketStatus.NA, new SolidColorBrush(ColorHelper.FromArgb(0x71, 0x71, 0x71, 0x71)) },
|
{ SocketStatus.NA, new SolidColorBrush(ColorHelper.FromArgb(0, 0x71, 0x71, 0x71)) },
|
||||||
{ SocketStatus.Resolving, new SolidColorBrush(Colors.Yellow) },
|
{ SocketStatus.Resolving, new SolidColorBrush(Colors.Yellow) },
|
||||||
{ SocketStatus.Connecting, new SolidColorBrush(Colors.Orange) },
|
{ SocketStatus.Connecting, new SolidColorBrush(Colors.Orange) },
|
||||||
{ SocketStatus.Handshaking, new SolidColorBrush(Colors.Blue) },
|
{ SocketStatus.Handshaking, new SolidColorBrush(Colors.Blue) },
|
||||||
|
|||||||
@@ -125,6 +125,7 @@
|
|||||||
Width="136"
|
Width="136"
|
||||||
Height="90"
|
Height="90"
|
||||||
Margin="4"
|
Margin="4"
|
||||||
|
BorderThickness="2"
|
||||||
AllowDrop="{Binding Mode=OneWay, Path=Item.CanDragDrop}"
|
AllowDrop="{Binding Mode=OneWay, Path=Item.CanDragDrop}"
|
||||||
Background="{ThemeResource SolidBackgroundFillColorBaseAltBrush}"
|
Background="{ThemeResource SolidBackgroundFillColorBaseAltBrush}"
|
||||||
BorderBrush="{Binding Item.StatusBrush}"
|
BorderBrush="{Binding Item.StatusBrush}"
|
||||||
|
|||||||
Reference in New Issue
Block a user