mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-04 03:32:22 +03:00
4f6bef5b63
Once a drag starts, we won't fire click listeners or style any elements as active. - Don't fire click listeners or show active state once a drag is in progress - Don't show hover style when a drag is in progress - Draw borders above content - If borders are opaque, apply them to the content mask. This prevents hovers from firing on content underneath the border, which was creating issues where the drag handle was inside the border, so we'd flicker the hover when the mouse moved out of the drag handle and into the 1px border on the left dock. - Add a `block_mouse` helper which causes transparent elements to paint an "opaque" layer to prevent mouse events from falling through. We use this for the drag handle as well to disable hover, click, etc on items in the panel. Release Notes: - N/A |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |