Fixing blank lines

This commit is contained in:
Clint Rutkas
2019-12-12 13:26:02 -08:00
parent 826858c170
commit de64b33bb8
13 changed files with 159 additions and 63 deletions

View File

@@ -115,6 +115,7 @@ namespace FancyZonesEditor
{
newWidth = (int)_settings.WorkArea.Width - rect.X;
}
MinWidth = rect.Width = newWidth;
}
@@ -130,8 +131,10 @@ namespace FancyZonesEditor
{
newHeight = (int)_settings.WorkArea.Height - rect.Y;
}
MinHeight = rect.Height = newHeight;
}
Model.Zones[ZoneIndex] = rect;
}
@@ -144,6 +147,7 @@ namespace FancyZonesEditor
Canvas.SetZIndex(this, c_zIndex++);
base.OnPreviewMouseDown(e);
}
private void NWResize_DragDelta(object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e)
{
SizeMove(e.HorizontalChange, e.VerticalChange);