Browse Source

Added Layer Debugger Display

CPKreuz 4 years ago
parent
commit
8dc2ae7556
1 changed files with 2 additions and 0 deletions
  1. 2 0
      PixiEditor/Models/Layers/Layer.cs

+ 2 - 0
PixiEditor/Models/Layers/Layer.cs

@@ -1,5 +1,6 @@
 using System;
 using System;
 using System.Collections.Generic;
 using System.Collections.Generic;
+using System.Diagnostics;
 using System.Linq;
 using System.Linq;
 using System.Windows;
 using System.Windows;
 using System.Windows.Media;
 using System.Windows.Media;
@@ -12,6 +13,7 @@ using PixiEditor.ViewModels;
 
 
 namespace PixiEditor.Models.Layers
 namespace PixiEditor.Models.Layers
 {
 {
+    [DebuggerDisplay("'{name,nq}' {width}x{height}")]
     public class Layer : BasicLayer
     public class Layer : BasicLayer
     {
     {
         private const int SizeOfArgb = 4;
         private const int SizeOfArgb = 4;