mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix: error when dragging downwards
This commit is contained in:
parent
b9a43147dc
commit
87676d2994
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue