mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
Fix a vector<bool> subscript out of range crash (#10458)
This commit is contained in:
@@ -406,6 +406,7 @@ ZoneWindow::UpdateActiveZoneSet() noexcept
|
|||||||
CalculateZoneSet();
|
CalculateZoneSet();
|
||||||
if (m_window)
|
if (m_window)
|
||||||
{
|
{
|
||||||
|
m_highlightZone.clear();
|
||||||
m_zoneWindowDrawing->DrawActiveZoneSet(m_activeZoneSet->GetZones(), m_highlightZone, m_host);
|
m_zoneWindowDrawing->DrawActiveZoneSet(m_activeZoneSet->GetZones(), m_highlightZone, m_host);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user