Explorar o código

LineCanvas - Exclude

Tig hai 10 meses
pai
achega
32f316f5ba
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      UICatalog/Scenarios/Editors/AdornmentsEditor.cs

+ 1 - 1
UICatalog/Scenarios/Editors/AdornmentsEditor.cs

@@ -27,7 +27,7 @@ public class AdornmentsEditor : EditorBase
     /// <inheritdoc/>
     protected override void OnViewToEditChanged ()
     {
-        Enabled = ViewToEdit is Adornment;
+        Enabled = ViewToEdit is not Adornment;
 
         if (MarginEditor is { })
         {