瀏覽代碼

changed hardcoded class name to typeof().FullName

flabbet 4 年之前
父節點
當前提交
579cbc7a46
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      PixiEditor/Views/UserControls/Layers/LayerGroupControl.xaml.cs

+ 2 - 2
PixiEditor/Views/UserControls/Layers/LayerGroupControl.xaml.cs

@@ -22,8 +22,8 @@ namespace PixiEditor.Views.UserControls.Layers
             set { SetValue(GroupGuidProperty, value); }
         }
 
-        public const string LayerGroupControlDataName = "PixiEditor.Views.UserControls.Layers.LayerGroupControl";
-        public const string LayerContainerDataName = "PixiEditor.Views.UserControls.Layers.LayerStructureItemContainer";
+        public static string LayerGroupControlDataName = typeof(LayerGroupControl).FullName;
+        public static string LayerContainerDataName = typeof(LayerStructureItemContainer).FullName;
 
         public static readonly DependencyProperty GroupGuidProperty =
             DependencyProperty.Register("GroupGuid", typeof(Guid), typeof(LayerGroupControl), new PropertyMetadata(Guid.NewGuid()));