using System;
using System.Collections.Generic;

namespace Sonex.Client.Controls.SceneCanvas;

public sealed class SceneCanvasMagnetLayoutsChangedEventArgs : EventArgs
{
    public SceneCanvasMagnetLayoutsChangedEventArgs(bool activeLayoutOnly, IReadOnlyList<int> layoutIds)
    {
        ActiveLayoutOnly = activeLayoutOnly;
        LayoutIds = layoutIds ?? [];
    }

    public bool ActiveLayoutOnly { get; }

    public IReadOnlyList<int> LayoutIds { get; }
}
