mirror of
https://github.com/microsoft/PowerToys
synced 2025-08-31 14:35:18 +00:00
FZ editor: splitter thickness set to 1px when space around zones is zero (#2020)
This commit is contained in:
@@ -101,7 +101,16 @@ namespace FancyZonesEditor
|
||||
|
||||
private int SplitterThickness
|
||||
{
|
||||
get { return Math.Max(((App)Application.Current).ZoneSettings.Spacing, 5); }
|
||||
get
|
||||
{
|
||||
Settings settings = ((App)Application.Current).ZoneSettings;
|
||||
if (!settings.ShowSpacing)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
return Math.Max(settings.Spacing, 1);
|
||||
}
|
||||
}
|
||||
|
||||
private void UpdateSplitter()
|
||||
|
Reference in New Issue
Block a user