mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
change from remove/insert to move
This commit is contained in:
parent
20a865f012
commit
d7dd89d719
1 changed files with 1 additions and 2 deletions
|
|
@ -217,8 +217,7 @@ namespace Flow.Launcher.Plugin.WebSearch
|
|||
if (removedIdx == targetIdx)
|
||||
return;
|
||||
|
||||
items.RemoveAt(removedIdx);
|
||||
items.Insert(removedIdx < targetIdx ? targetIdx - 1 : targetIdx, droppedData);
|
||||
items.Move(removedIdx, targetIdx);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue