mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-15 01:56:24 -04:00
Drag autoscrolling deliberately keeps rendering after the test action has returned, so view bounds can change while the test goroutine prepares its next mouse event. Snapshot the geometry on the event loop before translating view-relative coordinates to avoid data races. This hasn't been a problem so far, but only because we were lucky; the added test assertions later in this branch would cause consistent race detector failures without this fix. |
||
|---|---|---|
| .. | ||
| app | ||
| cheatsheet | ||
| commands | ||
| common | ||
| config | ||
| constants | ||
| env | ||
| fakes | ||
| gocui | ||
| gui | ||
| i18n | ||
| integration | ||
| jsonschema | ||
| logs | ||
| snake | ||
| tasks | ||
| theme | ||
| updates | ||
| utils | ||