Fix dragging over items larger than the selection group
There is still a further choice/improvement to be made here, but at least dragging shouldn't glitch out as it currently stands
This commit is contained in:
+10
-1
@@ -1 +1,10 @@
|
||||
All good (593 modules, at 10:06:01)
|
||||
/home/justin/Haskell/loop/src/Dodge/Update/Input/InGame.hs:247:22-23: warning: [-Wunused-matches]
|
||||
Defined but not used: ‘bn’
|
||||
|
|
||||
247 | shiftInvItems k x ab bn xs ss w = fromMaybe w $ do
|
||||
| ^^
|
||||
/home/justin/Haskell/loop/src/Dodge/Update/Input/InGame.hs:252:13-17: warning: [-Wunused-matches]
|
||||
Defined but not used: ‘above’
|
||||
|
|
||||
252 | above <- ss ^? ix (mini - 1)
|
||||
| ^^^^^
|
||||
|
||||
Reference in New Issue
Block a user