ux: labels in BLEND mode of image diff view

This commit is contained in:
leo 2024-06-24 11:51:41 +08:00
parent 4b027f4349
commit cac6b2002f
No known key found for this signature in database

View file

@ -142,7 +142,7 @@
<Grid Grid.Row="2" ColumnDefinitions="100,200,100" Margin="0,12,0,0" HorizontalAlignment="Center"> <Grid Grid.Row="2" ColumnDefinitions="100,200,100" Margin="0,12,0,0" HorizontalAlignment="Center">
<StackPanel Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,8,0"> <StackPanel Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,0,8,0">
<TextBlock Classes="monospace" Text="{DynamicResource Text.Diff.Binary.Old}"/> <TextBlock Classes="monospace" Text="OLD"/>
<TextBlock Classes="monospace" <TextBlock Classes="monospace"
Margin="8,0,0,0" Margin="8,0,0,0"
Text="{Binding #ImageBlendSlider.Value, Converter={x:Static c:DoubleConverters.OneMinusToPercentage}}" Text="{Binding #ImageBlendSlider.Value, Converter={x:Static c:DoubleConverters.OneMinusToPercentage}}"
@ -169,7 +169,7 @@
</Slider> </Slider>
<StackPanel Grid.Column="2" Orientation="Horizontal" VerticalAlignment="Top" Margin="8,0,0,0"> <StackPanel Grid.Column="2" Orientation="Horizontal" VerticalAlignment="Top" Margin="8,0,0,0">
<TextBlock Classes="monospace" Text="{DynamicResource Text.Diff.Binary.New}"/> <TextBlock Classes="monospace" Text="NEW"/>
<TextBlock Classes="monospace" <TextBlock Classes="monospace"
Margin="8,0,0,0" Margin="8,0,0,0"
Text="{Binding #ImageBlendSlider.Value, Converter={x:Static c:DoubleConverters.ToPercentage}}" Text="{Binding #ImageBlendSlider.Value, Converter={x:Static c:DoubleConverters.ToPercentage}}"