using Avalonia.Controls;

namespace Minint.Views;

public partial class NewContainerDialog : Window
{
    public int CanvasWidth => (int)(WidthInput.Value ?? 64);
    public int CanvasHeight => (int)(HeightInput.Value ?? 64);

    public NewContainerDialog()
    {
        InitializeComponent();

        OkButton.Click += (_, _) => Close(true);
        CancelButton.Click += (_, _) => Close(false);
    }
}
