mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-18 06:29:44 +08:00
Issue #1849: Fix for windows in the last zone being placed in the first zone when decreasing the zone count. (#1884)
This commit is contained in:
parent
84ef245b56
commit
01ec472314
@ -226,7 +226,7 @@ ZoneSet::MoveWindowIntoZoneByIndex(HWND window, HWND windowZone, int index) noex
|
||||
|
||||
if (index >= int(m_zones.size()))
|
||||
{
|
||||
index = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
while (auto zoneDrop = ZoneFromWindow(window))
|
||||
|
Loading…
Reference in New Issue
Block a user