Selaa lähdekoodia

LineCanvas - Exclude

Tig 9 kuukautta sitten
vanhempi
commit
32f316f5ba
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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 { })
         {