Browse Source

Removed debug code.

pull/10/head
Steven Kirk 12 years ago
parent
commit
c28c7e6b7a
  1. 1
      Perspex.Controls/Primitives/Track.cs
  2. 2
      Perspex.Diagnostics/DevTools.cs

1
Perspex.Controls/Primitives/Track.cs

@ -133,7 +133,6 @@ namespace Perspex.Controls.Primitives
{ {
var width = Math.Max(finalSize.Width * thumbFraction, thumb.MinWidth); var width = Math.Max(finalSize.Width * thumbFraction, thumb.MinWidth);
var x = (finalSize.Width - width) * valueFraction; var x = (finalSize.Width - width) * valueFraction;
System.Diagnostics.Debug.WriteLine("" + this.Value + " " + x);
thumb.Arrange(new Rect(x, 0, width, finalSize.Height)); thumb.Arrange(new Rect(x, 0, width, finalSize.Height));
} }
else else

2
Perspex.Diagnostics/DevTools.cs

@ -25,7 +25,7 @@ namespace Perspex.Diagnostics
{ {
DataTemplates = new DataTemplates DataTemplates = new DataTemplates
{ {
new TreeDataTemplate<VisualTreeNode>(GetHeader, x => x.Children, x => true), new TreeDataTemplate<VisualTreeNode>(GetHeader, x => x.Children),
}, },
[!TreeView.ItemsProperty] = this[!DevTools.RootProperty].Select(x => [!TreeView.ItemsProperty] = this[!DevTools.RootProperty].Select(x =>
{ {

Loading…
Cancel
Save