Files
@ d16a2d816aa5
Branch filter:
Location: ATITD-Tools/Desert-Paint-Codex/Views/WelcomeView.axaml - annotation
d16a2d816aa5
1.3 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 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.WelcomeView"
Width="296"
SizeToContent="Height"
SystemDecorations="BorderOnly"
WindowStartupLocation="CenterScreen"
Topmost="True"
Title="Welcome">
<Design.DataContext>
<vm:WelcomeViewModel/>
</Design.DataContext>
<Window.DataContext>
<vm:WelcomeViewModel/>
</Window.DataContext>
<DockPanel Margin="20">
<!-- <Image DockPanel.Dock="Top" Source="avares://DesertPaintCodex/Assets/ATITD-Tools/desert-paint-codex-splash.png" Width="256" Height="256"/> -->
<Image DockPanel.Dock="Top" Source="{StaticResource Image_Splash}" Width="256" Height="256"/>
<TextBlock DockPanel.Dock="Top" Classes="BlockHeader" Margin="0, 15">DESERT PAINT CODEX - T10</TextBlock>
<ContentControl Content="{Binding ProfileActivity}"/>
</DockPanel>
</Window>
|