Allow scrolling within a larger selection to not remove larger selection
This commit is contained in:
+2
-1
@@ -360,7 +360,8 @@ updateMouseContext cfig u = case u ^. uvWorld . input . mouseContext of
|
||||
return $ OverInvSelect selpos
|
||||
overcomb = do
|
||||
sss <- w ^? hud . hudElement . subInventory . ciSections
|
||||
msel <- w ^? hud . hudElement . subInventory . ciSelection . _Just
|
||||
(xl,xr,_) <- w ^? hud . hudElement . subInventory . ciSelection . _Just
|
||||
let msel = (xl,xr)
|
||||
let mpossel = inverseSelNumPos cfig secondColumnParams sss (w ^. input . mousePos)
|
||||
return $ case mpossel of
|
||||
Nothing -> OverCombEscape
|
||||
|
||||
Reference in New Issue
Block a user