Fix mouse_interaction and on_event for Scrollable
This commit is contained in:
parent
edf7d7ca75
commit
0a65fd0d74
1 changed files with 2 additions and 2 deletions
|
|
@ -377,7 +377,7 @@ where
|
||||||
self.content.as_widget_mut().on_event(
|
self.content.as_widget_mut().on_event(
|
||||||
&mut tree.children[0],
|
&mut tree.children[0],
|
||||||
event.clone(),
|
event.clone(),
|
||||||
layout,
|
content,
|
||||||
cursor,
|
cursor,
|
||||||
renderer,
|
renderer,
|
||||||
clipboard,
|
clipboard,
|
||||||
|
|
@ -880,7 +880,7 @@ where
|
||||||
|
|
||||||
self.content.as_widget().mouse_interaction(
|
self.content.as_widget().mouse_interaction(
|
||||||
&tree.children[0],
|
&tree.children[0],
|
||||||
layout,
|
content_layout,
|
||||||
cursor,
|
cursor,
|
||||||
&Rectangle {
|
&Rectangle {
|
||||||
y: bounds.y + translation.y,
|
y: bounds.y + translation.y,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue