Allow more drag selection to work
This commit is contained in:
@@ -148,8 +148,7 @@ drawDragSelected cfig w = do
|
||||
|
||||
drawDragSelecting :: Configuration -> World -> Maybe Picture
|
||||
drawDragSelecting cfig w = do
|
||||
OverInvDragSelect (i, j) mselend <- w ^? input . mouseContext
|
||||
b <- mselend
|
||||
OverInvDragSelect (Just (i, j)) (Just b) <- w ^? input . mouseContext
|
||||
sss <- w ^? hud . hudElement . diSections
|
||||
let f x = selSecDrawCursorAt invDP BackdropCursor sss (i, x)
|
||||
return . translateScreenPos cfig (invDP ^. ldpPos)
|
||||
|
||||
Reference in New Issue
Block a user