Files @ a5faa82faf6a
Branch filter:

Location: ATITD-Tools/Desert-Paint-Codex/Models/ScreenMetrics.cs

Malkyne
Import and Export should be working correctly. Can now import Practical Paint
reactions.txt files. Fixed a crash taht occurred when switching profiles.
using Avalonia;

namespace DesertPaintCodex.Models
{
    public class ScreenMetrics
    {
        public PixelRect Bounds { get; set; }
        public bool IsPrimary { get; set; }

        public string PositionToStr => $"{Bounds.X}, {Bounds.Y}";
        public string SizeToStr => $"{Bounds.Width}x{Bounds.Height}";

        public ScreenMetrics(PixelRect bounds, bool isPrimary)
        {
            Bounds = bounds;
            IsPrimary = isPrimary;
        }
    }
}