Fix flickering cursor style when a pane was zoomed (#8546)
Release Notes: - N/A Co-authored-by: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
7efa8d079d
commit
57f5f128f3
2 changed files with 8 additions and 3 deletions
|
@ -409,7 +409,7 @@ impl<'a> ElementContext<'a> {
|
|||
.requested_cursor_style
|
||||
.as_ref()
|
||||
.map_or(true, |prev_style_request| {
|
||||
style_request.stacking_order > prev_style_request.stacking_order
|
||||
style_request.stacking_order >= prev_style_request.stacking_order
|
||||
})
|
||||
{
|
||||
self.window.next_frame.requested_cursor_style = Some(style_request.clone());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue