Tig 9 месяцев назад
Родитель
Сommit
32f316f5ba
1 измененных файлов с 1 добавлено и 1 удалено
  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 { })
         {