mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
Fixing blank lines
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user