Browse Source

Removed obligatory constructor from stateful element

Krzysztof Krysiński 3 months ago
parent
commit
d436184377
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/PixiEditor.Extensions.Sdk/Api/FlyUI/StatefulElement.cs

+ 1 - 1
src/PixiEditor.Extensions.Sdk/Api/FlyUI/StatefulElement.cs

@@ -7,7 +7,7 @@ public abstract class StatefulElement<TState> : LayoutElement, IStatefulElement<
 {
 {
     private TState state;
     private TState state;
 
 
-    protected StatefulElement(Cursor? cursor) : base(cursor)
+    protected StatefulElement() : base(null)
     {
     {
     }
     }