Ver código fonte

LineCanvas - Exclude

Tig 8 meses atrás
pai
commit
32f316f5ba
1 arquivos alterados com 1 adições e 1 exclusões
  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 { })
         {