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(
|
||||
&mut tree.children[0],
|
||||
event.clone(),
|
||||
layout,
|
||||
content,
|
||||
cursor,
|
||||
renderer,
|
||||
clipboard,
|
||||
|
|
@ -880,7 +880,7 @@ where
|
|||
|
||||
self.content.as_widget().mouse_interaction(
|
||||
&tree.children[0],
|
||||
layout,
|
||||
content_layout,
|
||||
cursor,
|
||||
&Rectangle {
|
||||
y: bounds.y + translation.y,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue