chore: fix virtual offset
This commit is contained in:
parent
00bb0162d1
commit
99bc455118
2 changed files with 28 additions and 7 deletions
|
|
@ -963,11 +963,12 @@ where
|
|||
)),
|
||||
e => e,
|
||||
};
|
||||
|
||||
self.content.as_widget_mut().update(
|
||||
&mut tree.children[0],
|
||||
&c_event,
|
||||
content,
|
||||
content.with_virtual_offset(
|
||||
translation + layout.virtual_offset(),
|
||||
),
|
||||
cursor,
|
||||
renderer,
|
||||
clipboard,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue