1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-22 05:40:11 +00:00

Remove Simconnect indicator icon

This commit is contained in:
hawkeye 2023-08-18 20:46:06 -04:00
parent f9b504574f
commit a8a88b791c
3 changed files with 3 additions and 31 deletions

View file

@ -67,10 +67,7 @@
<ColumnDefinition Width="*" /> <ColumnDefinition Width="*" />
<ColumnDefinition Width="200" /> <ColumnDefinition Width="200" />
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<StackPanel <StackPanel Grid.Column="0" Margin="0,0,0,0">
Grid.Column="0"
Margin="0,0,0,0"
Orientation="Horizontal">
<Button <Button
Margin="0" Margin="0"
Padding="0" Padding="0"
@ -79,11 +76,11 @@
<Button.Style> <Button.Style>
<Style BasedOn="{StaticResource MaterialDesignFlatButton}" TargetType="Button"> <Style BasedOn="{StaticResource MaterialDesignFlatButton}" TargetType="Button">
<Style.Triggers> <Style.Triggers>
<DataTrigger Binding="{Binding FlightSimData.IsSimulatorStarted}" Value="True"> <DataTrigger Binding="{Binding FlightSimData.IsSimConnectDataReceived}" Value="True">
<Setter Property="Foreground" Value="LightGreen" /> <Setter Property="Foreground" Value="LightGreen" />
<Setter Property="Content" Value="{materialDesign:PackIcon Kind=AccessPointNetwork, Size={StaticResource IconSize}}" /> <Setter Property="Content" Value="{materialDesign:PackIcon Kind=AccessPointNetwork, Size={StaticResource IconSize}}" />
</DataTrigger> </DataTrigger>
<DataTrigger Binding="{Binding FlightSimData.IsSimulatorStarted}" Value="False"> <DataTrigger Binding="{Binding FlightSimData.IsSimConnectDataReceived}" Value="False">
<Setter Property="Foreground" Value="Red" /> <Setter Property="Foreground" Value="Red" />
<Setter Property="Content" Value="{materialDesign:PackIcon Kind=AccessPointNetworkOff, Size={StaticResource IconSize}}" /> <Setter Property="Content" Value="{materialDesign:PackIcon Kind=AccessPointNetworkOff, Size={StaticResource IconSize}}" />
</DataTrigger> </DataTrigger>
@ -91,27 +88,6 @@
</Style> </Style>
</Button.Style> </Button.Style>
</Button> </Button>
<Button
Width="{StaticResource IconSize}"
Height="{StaticResource IconSize}"
Margin="5,4,0,0"
Padding="0"
HorizontalAlignment="Left"
ToolTip="Receiving SimConnect data">
<Button.Style>
<Style BasedOn="{StaticResource MaterialDesignIconButton}" TargetType="Button">
<Style.Triggers>
<DataTrigger Binding="{Binding FlightSimData.IsSimConnectDataReceived}" Value="True">
<Setter Property="Foreground" Value="LightGreen" />
</DataTrigger>
<DataTrigger Binding="{Binding FlightSimData.IsSimConnectDataReceived}" Value="False">
<Setter Property="Foreground" Value="White" />
</DataTrigger>
</Style.Triggers>
</Style>
</Button.Style>
<materialDesign:PackIcon Kind="DownloadOutline" />
</Button>
</StackPanel> </StackPanel>
<StackPanel Grid.Column="1" Width="Auto"> <StackPanel Grid.Column="1" Width="Auto">
<TextBlock <TextBlock

View file

@ -11,6 +11,4 @@
* Added configurable keyboard shortcut to initiate pop out process (default is Ctrl-Shift-O). This keyboard shortcut can be configured in preference setting. This setting can be disabled to improve computing resource needed to constantly detect keyboard inputs. * Added configurable keyboard shortcut to initiate pop out process (default is Ctrl-Shift-O). This keyboard shortcut can be configured in preference setting. This setting can be disabled to improve computing resource needed to constantly detect keyboard inputs.
* Added indicator to show SimConnect is receiving data.
* Fixed issue where full screen mode for pop out panel does not work on certain aircraft configuration. * Fixed issue where full screen mode for pop out panel does not work on certain aircraft configuration.

View file

@ -14,8 +14,6 @@
* Added configurable keyboard shortcut to initiate pop out process (default is Ctrl-Shift-O). This keyboard shortcut can be configured in preference setting. This setting can be disabled to improve computing resource needed to constantly detect keyboard inputs. * Added configurable keyboard shortcut to initiate pop out process (default is Ctrl-Shift-O). This keyboard shortcut can be configured in preference setting. This setting can be disabled to improve computing resource needed to constantly detect keyboard inputs.
* Added indicator to show SimConnect is receiving data.
* Fixed issue where full screen mode for pop out panel does not work on certain aircraft configuration. * Fixed issue where full screen mode for pop out panel does not work on certain aircraft configuration.
## Version 4.0.1.2 ## Version 4.0.1.2