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