mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
[FancyZones Editor] Highlight the user-defined default layout when no layout applied (#27879)
This commit is contained in:
@@ -171,5 +171,20 @@ LayoutData DefaultLayouts::GetDefaultLayout(MonitorConfigurationType type) const
|
||||
return iter->second;
|
||||
}
|
||||
|
||||
switch (type)
|
||||
{
|
||||
case MonitorConfigurationType::Horizontal:
|
||||
return LayoutData{};
|
||||
case MonitorConfigurationType::Vertical:
|
||||
return LayoutData{
|
||||
.uuid = GUID_NULL,
|
||||
.type = FancyZonesDataTypes::ZoneSetLayoutType::Rows,
|
||||
.showSpacing = DefaultValues::ShowSpacing,
|
||||
.spacing = DefaultValues::Spacing,
|
||||
.zoneCount = DefaultValues::ZoneCount,
|
||||
.sensitivityRadius = DefaultValues::SensitivityRadius
|
||||
};
|
||||
}
|
||||
|
||||
return LayoutData{};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user