mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-26 08:31:04 +00:00
Use the hit bounds when painting mouse regions
This commit is contained in:
parent
893f15ddab
commit
aedfd74d30
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ impl Element for MouseEventHandler {
|
|||
view_id: cx.current_view_id(),
|
||||
tag: self.tag,
|
||||
region_id: self.id,
|
||||
bounds,
|
||||
bounds: self.hit_bounds(bounds),
|
||||
hover: None,
|
||||
click: self.click_handler.clone(),
|
||||
mouse_down: self.mouse_down_handler.clone(),
|
||||
|
|
Loading…
Reference in a new issue