mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
When the left button is pressed and the pointer then moves, the event that made the MAYBE_DRAGGING -> DRAGGING transition fell through the switch without being assigned a key or modifier, so the first cell of every drag arrived at handlers as a MouseRelease event without the motion modifier and was effectively lost. Give it the same MouseLeft/ModMotion identity as all subsequent drag events. Held-button motion events that stay within the pressed cell carry no information at all; swallow them instead of letting them through as further release-shaped events (which used to clobber the double-click state when the pointer jittered within a cell between two clicks). |
||
|---|---|---|
| .. | ||
| app | ||
| cheatsheet | ||
| commands | ||
| common | ||
| config | ||
| constants | ||
| env | ||
| fakes | ||
| gocui | ||
| gui | ||
| i18n | ||
| integration | ||
| jsonschema | ||
| logs | ||
| snake | ||
| tasks | ||
| theme | ||
| updates | ||
| utils | ||