[FancyZones]Fix not shown layout on window dragging(#18542)

* log

* check if current vd id null
This commit is contained in:
Seraphima Zykova
2022-05-30 12:16:33 +02:00
committed by GitHub
parent ba4b9cf549
commit 3cf6685eeb
2 changed files with 8 additions and 1 deletions

View File

@@ -502,6 +502,7 @@ void WorkArea::CalculateZoneSet(OverlappingZonesAlgorithm overlappingAlgorithm)
const auto appliedLayout = AppliedLayouts::instance().GetDeviceLayout(m_uniqueId);
if (!appliedLayout.has_value())
{
Logger::error(L"Layout wasn't applied. Can't init zone set");
return;
}