Fix bug not allowing dragging at extreme bottom edge
This commit is contained in:
@@ -292,7 +292,7 @@ shiftInvItems k x ab bn xs ss w = setSelWhileDragging . fromMaybe w $ do
|
||||
return $ shiftInvItemsUp k xs w
|
||||
else do
|
||||
guard $ not . null . snd $ IM.split maxi ss
|
||||
guard $ Just (k,maxi+1) < bn
|
||||
guard $ Just (k,maxi+1) /= bn
|
||||
return $ shiftInvItemsDown k xs w
|
||||
|
||||
setSelWhileDragging :: World -> World
|
||||
|
||||
Reference in New Issue
Block a user