Files
@ d6859ea7177f
Branch filter:
Location: ATITD-Tools/Desert-Paint-Codex/Views/PaintSwatchView.axaml - annotation
d6859ea7177f
1.1 KiB
text/plain
Add some sanity checks on min/max concentration and min/max reagents in recipe generation. Also, clear out the search queue when generation has finished so the queue isn't loaded next time. This fixes the start/resume button state when entering the recipe generator after a prior run had finished.
40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 | <UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="300" d:DesignHeight="60"
x:Class="DesertPaintCodex.Views.PaintSwatchView">
<UserControl.Styles>
<Style Selector="TextBlock">
<Setter Property="FontSize" Value="14"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
</UserControl.Styles>
<Border Classes="ThinFrame">
<DockPanel>
<StackPanel DockPanel.Dock="Right" Width="110" Orientation="Vertical" VerticalAlignment="Center" Margin="15 0 0 0">
<TextBlock Name="HexCode">#FF0000</TextBlock>
<TextBlock Name="ColorName">Miller-Baker Pink</TextBlock>
</StackPanel>
<Border Name="ColorSwatch"
Background="#FF0000"
BorderBrush="#FFFFFF"
BorderThickness="0"
CornerRadius="3"
Height="40" />
</DockPanel>
</Border>
</UserControl>
|