mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
Fix difference in editor and applied focus layout zones size and increments (#5601)
This commit is contained in:
@@ -293,6 +293,8 @@ namespace FancyZonesEditor
|
||||
ZoneCount = 3;
|
||||
}
|
||||
|
||||
// If changing focus layout zones size and/or increment,
|
||||
// same change should be applied in ZoneSet.cpp (ZoneSet::CalculateFocusLayout)
|
||||
Int32Rect focusZoneRect = new Int32Rect(100, 100, (int)(WorkArea.Width * 0.4), (int)(WorkArea.Height * 0.4));
|
||||
int focusRectXIncrement = (ZoneCount <= 1) ? 0 : 50;
|
||||
int focusRectYIncrement = (ZoneCount <= 1) ? 0 : 50;
|
||||
|
||||
Reference in New Issue
Block a user