Pass visible bounds to Element::dispatch_event
This commit is contained in:
parent
ae415ee49b
commit
73f2fd6b09
23 changed files with 37 additions and 4 deletions
|
@ -85,6 +85,8 @@ impl Element for EventHandler {
|
|||
&mut self,
|
||||
event: &Event,
|
||||
bounds: RectF,
|
||||
_: RectF,
|
||||
visible_bounds: RectF,
|
||||
_: &mut Self::LayoutState,
|
||||
_: &mut Self::PaintState,
|
||||
cx: &mut EventContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue