Files @ 62d349a8db2f
Branch filter:

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

Jason Maltzen
Fix the PaintMix export format - use the PracticalPaint internal names for ingredients, and remove excess whitespace. Also, don't export a recipe for colors that don't have a recipe.
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;
        }
    }
}