Browse Source

Added debug display for selection

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

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

@@ -1,5 +1,6 @@
 using System.Collections.Generic;
 using System.Collections.ObjectModel;
+using System.Diagnostics;
 using System.Linq;
 using System.Windows.Media;
 using PixiEditor.Helpers;
@@ -9,6 +10,7 @@ using PixiEditor.Models.Position;
 
 namespace PixiEditor.Models.DataHolders
 {
+    [DebuggerDisplay("{SelectedPoints.Count} selected Pixels")]
     public class Selection : NotifyableObject
     {
         private readonly Color selectionBlue;