![]() We recently fixed the issue of `cx.notify` on every mouse move event https://github.com/zed-industries/zed/pull/32408. As this perf bug was there for a long time, we made some not-optimal choices for checking things like if the mouse is hovering over an element in the prepaint phase rather than the `mouse_move` listener. After the mentioned fix, it regressed these code paths as prepaint is not being called for every other frame, and hence the mouse hovering logic never triggers. This bug is directly noticeable when the "cursor_blink" setting is turned off, which notifies the editor on every second. This PR fixes that for git inline blame popover by moving logic to show/hide in `mouse_move` instead of prepaint phase. `cx.notify` is only get called only when popover is shown or hidden. Release Notes: - Fixed git inline blame not correctly showing in Editor on hover when `cursor_blink` is `false`. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |