Only invalidate parent view on click/hover if we read that state when rendering
Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
934474f87e
commit
bc03592912
19 changed files with 124 additions and 55 deletions
|
@ -33,7 +33,7 @@ pub trait PickerDelegate: View {
|
|||
fn render_match(
|
||||
&self,
|
||||
ix: usize,
|
||||
state: MouseState,
|
||||
state: &mut MouseState,
|
||||
selected: bool,
|
||||
cx: &AppContext,
|
||||
) -> ElementBox;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue