Allow dragging after single click
This commit is contained in:
@@ -205,7 +205,7 @@ startDrag (a, b) cfig w = fromMaybe (augInvDirectSelect (a, b) $ setmichosen mem
|
||||
setmichosen :: IS.IntSet -> World -> World
|
||||
setmichosen x =
|
||||
(input . mouseContext .~ OverInvDrag a (Just (a, b)) above bneath)
|
||||
. (hud . hudElement . diSelectionExtra .~ x)
|
||||
. (hud . hudElement . diSelectionExtra .~ IS.insert b x)
|
||||
above :: Maybe (Int,Int)
|
||||
above = do
|
||||
sss <- w ^? hud . hudElement . diSections
|
||||
|
||||
Reference in New Issue
Block a user