Allow selection of noncontiguous items using shift

This commit is contained in:
2024-11-25 18:18:34 +00:00
parent 669f9667f1
commit 887ae2477c
3 changed files with 11 additions and 4 deletions
-1
View File
@@ -17,7 +17,6 @@ import qualified IntMapHelp as IM
import Dodge.Data.World
import Control.Monad
-- can be specialised for when we know that item i is selected
swapInvItems ::
(Int -> IM.IntMap (SelectionItem ()) -> Maybe Int) ->
Int ->