This commit is contained in:
2026-04-06 11:43:18 +01:00
parent 21573d0b05
commit 262463c52d
+1 -2
View File
@@ -104,8 +104,7 @@ updateMouseHeldInGame cfig w = case w ^. input . mouseContext of
w & input . mouseContext .~ MouseGameRotate (dist (mouseWorldPosW w) (w ^. wCam . camCenter))
OverInvDragSelect (Just sstart) _ ->
let sss = w ^. hud . diSections
msel = inverseSelNumPos cfig invDP (w ^. input . mousePos) sss
in case msel of
in case inverseSelNumPos cfig invDP (w ^. input . mousePos) sss of
Nothing -> w & input . mouseContext . mcoSelEnd .~ Nothing
Just (i, j)
| i == fst sstart -> w & input . mouseContext . mcoSelEnd ?~ j