mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 19:10:24 +00:00
ac214c52c9
It's easy to overshoot the bottom of the tooltip when cursoring to a button, such as opening the commit from a blame tooltip. Before this change the tooltip would immediately disappear, and now it sticks around for a bit. Also: * Shares the implementation with `elements/text.rs`. This will particularly be handy when it makes use of hoverable tooltips. * Improves the fix to #21657. - Now the element will no longer think it has an active tooltip that it registers with the window. - It will instead display the next available tooltip, whereas I believe before the next available tooltip would be suppressed. * Fixes bug where `cx.refresh()` wasn't called when text tooltip is hidden due to a mouse down event. * Ports over fix in https://github.com/zed-industries/zed/pull/14832 to `elements/text.rs` Release Notes: - The tooltip for inline git blame now waits a bit before disappearing when the mouse leaves it. |
||
---|---|---|
.. | ||
app | ||
elements | ||
keymap | ||
platform | ||
text_system | ||
window | ||
action.rs | ||
app.rs | ||
arena.rs | ||
asset_cache.rs | ||
assets.rs | ||
bounds_tree.rs | ||
color.rs | ||
element.rs | ||
executor.rs | ||
geometry.rs | ||
global.rs | ||
gpui.rs | ||
input.rs | ||
interactive.rs | ||
key_dispatch.rs | ||
keymap.rs | ||
platform.rs | ||
prelude.rs | ||
scene.rs | ||
shared_string.rs | ||
shared_uri.rs | ||
style.rs | ||
styled.rs | ||
subscription.rs | ||
svg_renderer.rs | ||
taffy.rs | ||
test.rs | ||
text_system.rs | ||
util.rs | ||
view.rs | ||
window.rs |