chore: fix virtual offset

This commit is contained in:
Ashley Wulber 2026-03-09 16:12:55 -04:00 committed by Ashley Wulber
parent 00bb0162d1
commit 99bc455118
2 changed files with 28 additions and 7 deletions

View file

@ -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,