mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
[FZEditor]Fix crash when deleting a zone while dragging it (#22884)
This commit is contained in:
@@ -255,6 +255,11 @@ namespace FancyZonesEditor
|
||||
|
||||
private void UpdateFromSnappyHelpers()
|
||||
{
|
||||
if (ZoneIndex >= Model.Zones.Count)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Int32Rect rect = Model.Zones[ZoneIndex];
|
||||
|
||||
if (snappyX != null)
|
||||
|
||||
Reference in New Issue
Block a user