Files @ 4778889395e8
Branch filter:

Location: ATITD-Tools/Desert-Paint-Codex/Views/AboutView.axaml

Jason Maltzen
Change the displayed permeutation count to display using locale-specific number formatting (with comma / dot separators). Fix a crash when starting a new round of recipe generation after recipe generation completed during a previous run.
<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>