From 747715f5884b6b115c06b2e7b094b0ffecf0a0b3 Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Sun, 27 Jun 2021 01:06:03 +0100 Subject: [PATCH] adjust scroll offset --- native/src/widget/scrollable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/src/widget/scrollable.rs b/native/src/widget/scrollable.rs index 767a159a..8f612943 100644 --- a/native/src/widget/scrollable.rs +++ b/native/src/widget/scrollable.rs @@ -236,7 +236,7 @@ where event.clone(), content, cursor_position, - scroll_offset, + scroll_offset + Vector::new(0.0, self.state.offset.absolute(bounds, content_bounds)), renderer, clipboard, messages,