removing default values

This commit is contained in:
Clint Rutkas 2020-11-18 11:40:59 -08:00
parent 0669fbcc27
commit f113aadb68
6 changed files with 7 additions and 7 deletions

View File

@ -60,7 +60,7 @@ namespace FancyZonesEditor
}
}
private static bool _debugMode = false;
private static bool _debugMode;
[Conditional("DEBUG")]
private void DebugModeCheck()

View File

@ -271,7 +271,7 @@ namespace FancyZonesEditor
Model.Zones[ZoneIndex] = rect;
}
private static int zIndex = 0;
private static int zIndex;
private const int MinZoneWidth = 64;
private const int MinZoneHeight = 72;

View File

@ -24,7 +24,7 @@ namespace FancyZonesEditor
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;

View File

@ -37,10 +37,10 @@ namespace FancyZonesEditor
public double[] HorizontalSnapPoints { get; set; }
private readonly Rectangle _splitter;
private bool _switchOrientation = false;
private bool _switchOrientation;
private Point _lastPos = new Point(-1, -1);
private Point _mouseDownPos = new Point(-1, -1);
private bool _inMergeDrag = false;
private bool _inMergeDrag;
private Orientation _splitOrientation;
private static void OnSelectionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

View File

@ -185,7 +185,7 @@ namespace FancyZonesEditor.Models
return _customModels;
}
private static ObservableCollection<LayoutModel> _customModels = null;
private static ObservableCollection<LayoutModel> _customModels;
private static List<string> _deletedCustomModels = new List<string>();
private static List<JsonElement> _createdCustomLayouts = new List<JsonElement>();

View File

@ -115,7 +115,7 @@ namespace FancyZonesEditor
}
}
private int _currentDesktop = 0;
private int _currentDesktop;
public bool SpanZonesAcrossMonitors
{