Bläddra i källkod

Fixed BooleanPropertyView not showing it's display name when the property is connected

CPKreuz 2 veckor sedan
förälder
incheckning
f3c4331413
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      src/PixiEditor/Views/Nodes/Properties/BooleanPropertyView.axaml

+ 1 - 0
src/PixiEditor/Views/Nodes/Properties/BooleanPropertyView.axaml

@@ -10,5 +10,6 @@
                              x:Class="PixiEditor.Views.Nodes.Properties.BooleanPropertyView">
     <StackPanel Orientation="Horizontal" HorizontalAlignment="{Binding IsInput, Converter={converters:BoolToValueConverter FalseValue='Right', TrueValue='Stretch'}}">
         <CheckBox localization:Translator.Key="{Binding DisplayName}" Margin="0,0,4,0" IsVisible="{Binding ShowInputField}" IsChecked="{Binding Value}"/>
+        <TextBlock localization:Translator.Key="{Binding DisplayName}" Margin="0,0,4,0" IsVisible="{Binding !ShowInputField}" />
     </StackPanel>
 </properties:NodePropertyView>