mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
[FZ Editor] Limit zones number for custom layouts. (#9364)
* disable add zone button * unify zone adding
This commit is contained in:
@@ -91,7 +91,7 @@ namespace FancyZonesEditor
|
||||
return;
|
||||
}
|
||||
|
||||
if (model.TemplateZoneCount < LayoutSettings.MaxZones)
|
||||
if (model.IsZoneAddingAllowed)
|
||||
{
|
||||
model.TemplateZoneCount++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user