Files
@ d16a2d816aa5
Branch filter:
Location: ATITD-Tools/Desert-Paint-Codex/Views/AboutView.axaml - annotation
d16a2d816aa5
1.6 KiB
text/plain
Don't open the recipe generator log file on view creation - only open it if configured when starting recipe generation. Fixes a crash when importing reaction data / profile data.
40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 40eaee10ae56 99f3d61e20d7 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 40eaee10ae56 40eaee10ae56 40eaee10ae56 | <Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:DesertPaintCodex.ViewModels"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="296" d:DesignHeight="550"
x:Class="DesertPaintCodex.Views.AboutView"
Width="296" Height="550" Topmost="True"
SizeToContent="Height"
SystemDecorations="BorderOnly"
WindowStartupLocation="CenterScreen"
Title="About Desert Paint Codex">
<Design.DataContext>
<vm:AboutViewModel />
</Design.DataContext>
<Window.DataContext>
<vm:AboutViewModel />
</Window.DataContext>
<DockPanel Margin="20" LastChildFill="True">
<Image DockPanel.Dock="Top" Source="{StaticResource Image_Splash}" Width="256" Height="256"/>
<TextBlock DockPanel.Dock="Top" Classes="BlockHeader" Margin="0, 10, 0, 0">DESERT PAINT CODEX - T10</TextBlock>
<TextBlock DockPanel.Dock="Top" Margin="0, 5, 0, 0">
Authors: Afrah, Snoerr
</TextBlock>
<Button DockPanel.Dock="Bottom" Command="{Binding CloseDialog}">Done</Button>
<Button DockPanel.Dock="Bottom" Command="{Binding OpenBrowser}"
CommandParameter="https://repos.malkyne.org/ATITD-Tools/Desert-Paint-Codex" Margin="0, 0, 0, 10">
Visit Repository
</Button>
<TextBlock TextWrapping="Wrap" Margin="0, 30" Text="{Binding AboutText}" />
</DockPanel>
</Window>
|