You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
sboosali
changed the title
@minimapletinytools seems to have implemented this in tinytools-vty: data DragState = DragStart | Dragging | DragEnd data Drag2 = Drag2 { … , _drag2_state :: DragState } drag2 = … V.EvMouseDown x y btn' mods' | state == DragEnd && btn == btn' -> Just $ Drag2 (x,y) (x,y) btn' mods' DragStart | state /= DragEnd && btn == btn' -> Just $ Drag2 from (x,y) btn mods' Dragging | otherwise … (Although, I dunno if they use it, but .) https://github.com/minimapletinytools/tinytools-vty/blob/potato/src/Potato/Reflex/Vty/Widget.hs#L183drag doesn't track "start of drag" as distinct from "mid drag"
Oct 21, 2024
@minimapletinytools seems to have implemented this in
tinytools-vty
:https://github.com/minimapletinytools/tinytools-vty/blob/potato/src/Potato/Reflex/Vty/Widget.hs#L183
The text was updated successfully, but these errors were encountered: