Revert "Fix mistake"

This reverts commit e89b2981e7.
This commit is contained in:
Stone-Red-Code
2021-08-14 21:42:06 +02:00
parent e89b2981e7
commit 1e57ec1b6a
172 changed files with 2328 additions and 780 deletions
@@ -0,0 +1,23 @@
using System;
namespace DesktopMagicPluginAPI.Inputs
{
/// <summary>
/// The element base class
/// </summary>
public abstract class Element
{
/// <summary>
/// Occurs when the value has been changed
/// </summary>
public event Action OnValueChanged;
/// <summary>
/// Triggers the <see cref="OnValueChanged"/> event
/// </summary>
protected void ValueChanged()
{
OnValueChanged?.Invoke();
}
}
}