fix: error when dragging downwards

This commit is contained in:
AWAS666 2025-10-10 10:06:42 +02:00
parent b9a43147dc
commit 87676d2994

View file

@ -215,7 +215,7 @@ namespace Flow.Launcher.Plugin.WebSearch
return;
items.RemoveAt(removedIdx);
items.Insert(targetIdx, droppedData);
items.Insert(removedIdx < targetIdx ? targetIdx - 1 : targetIdx, droppedData);
}
}