Browse Source

Added Document Debugger Display

CPKreuz 4 years ago
parent
commit
c0210570be
1 changed files with 2 additions and 0 deletions
  1. 2 0
      PixiEditor/Models/DataHolders/Document/Document.cs

+ 2 - 0
PixiEditor/Models/DataHolders/Document/Document.cs

@@ -1,6 +1,7 @@
 using System;
 using System.Buffers;
 using System.Collections.ObjectModel;
+using System.Diagnostics;
 using System.IO;
 using System.Linq;
 using System.Threading;
@@ -20,6 +21,7 @@ using PixiEditor.ViewModels;
 
 namespace PixiEditor.Models.DataHolders
 {
+    [DebuggerDisplay("'{Name, nq}' {width}x{height} {Layers.Count} Layer(s)")]
     public partial class Document : NotifyableObject
     {
         private int height;