Render code actions indicator
Co-Authored-By: Nathan <nathan@zed.dev>
This commit is contained in:
parent
cfee1401ed
commit
5d15886675
8 changed files with 225 additions and 126 deletions
|
@ -98,6 +98,7 @@ impl<V: 'static> IconButton<V> {
|
|||
|
||||
if let Some(click_handler) = self.handlers.click.clone() {
|
||||
button = button.on_mouse_down(MouseButton::Left, move |state, event, cx| {
|
||||
cx.stop_propagation();
|
||||
click_handler(state, cx);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue