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
|
@ -253,6 +253,7 @@ impl Element for List {
|
|||
&mut self,
|
||||
event: &Event,
|
||||
bounds: RectF,
|
||||
_: RectF,
|
||||
scroll_top: &mut ListOffset,
|
||||
_: &mut (),
|
||||
cx: &mut EventContext,
|
||||
|
@ -872,6 +873,7 @@ mod tests {
|
|||
&mut self,
|
||||
_: &Event,
|
||||
_: RectF,
|
||||
_: RectF,
|
||||
_: &mut (),
|
||||
_: &mut (),
|
||||
_: &mut EventContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue