mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-18 06:29:44 +08:00
removing default values
This commit is contained in:
parent
0669fbcc27
commit
f113aadb68
@ -60,7 +60,7 @@ namespace FancyZonesEditor
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static bool _debugMode = false;
|
private static bool _debugMode;
|
||||||
|
|
||||||
[Conditional("DEBUG")]
|
[Conditional("DEBUG")]
|
||||||
private void DebugModeCheck()
|
private void DebugModeCheck()
|
||||||
|
@ -271,7 +271,7 @@ namespace FancyZonesEditor
|
|||||||
Model.Zones[ZoneIndex] = rect;
|
Model.Zones[ZoneIndex] = rect;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static int zIndex = 0;
|
private static int zIndex;
|
||||||
private const int MinZoneWidth = 64;
|
private const int MinZoneWidth = 64;
|
||||||
private const int MinZoneHeight = 72;
|
private const int MinZoneHeight = 72;
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ namespace FancyZonesEditor
|
|||||||
|
|
||||||
public static readonly DependencyProperty ModelProperty = DependencyProperty.Register(ObjectDependencyID, typeof(GridLayoutModel), typeof(GridEditor), new PropertyMetadata(null, OnGridDimensionsChanged));
|
public static readonly DependencyProperty ModelProperty = DependencyProperty.Register(ObjectDependencyID, typeof(GridLayoutModel), typeof(GridEditor), new PropertyMetadata(null, OnGridDimensionsChanged));
|
||||||
|
|
||||||
private static int gridEditorUniqueIdCounter = 0;
|
private static int gridEditorUniqueIdCounter;
|
||||||
|
|
||||||
private int gridEditorUniqueId;
|
private int gridEditorUniqueId;
|
||||||
|
|
||||||
|
@ -37,10 +37,10 @@ namespace FancyZonesEditor
|
|||||||
public double[] HorizontalSnapPoints { get; set; }
|
public double[] HorizontalSnapPoints { get; set; }
|
||||||
|
|
||||||
private readonly Rectangle _splitter;
|
private readonly Rectangle _splitter;
|
||||||
private bool _switchOrientation = false;
|
private bool _switchOrientation;
|
||||||
private Point _lastPos = new Point(-1, -1);
|
private Point _lastPos = new Point(-1, -1);
|
||||||
private Point _mouseDownPos = new Point(-1, -1);
|
private Point _mouseDownPos = new Point(-1, -1);
|
||||||
private bool _inMergeDrag = false;
|
private bool _inMergeDrag;
|
||||||
private Orientation _splitOrientation;
|
private Orientation _splitOrientation;
|
||||||
|
|
||||||
private static void OnSelectionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
private static void OnSelectionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||||
|
@ -185,7 +185,7 @@ namespace FancyZonesEditor.Models
|
|||||||
return _customModels;
|
return _customModels;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static ObservableCollection<LayoutModel> _customModels = null;
|
private static ObservableCollection<LayoutModel> _customModels;
|
||||||
private static List<string> _deletedCustomModels = new List<string>();
|
private static List<string> _deletedCustomModels = new List<string>();
|
||||||
private static List<JsonElement> _createdCustomLayouts = new List<JsonElement>();
|
private static List<JsonElement> _createdCustomLayouts = new List<JsonElement>();
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ namespace FancyZonesEditor
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private int _currentDesktop = 0;
|
private int _currentDesktop;
|
||||||
|
|
||||||
public bool SpanZonesAcrossMonitors
|
public bool SpanZonesAcrossMonitors
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user