Browse Source

LineCanvas - Exclude

Tig 9 months ago
parent
commit
32f316f5ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UICatalog/Scenarios/Editors/AdornmentsEditor.cs

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

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