summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--native/src/renderer/null.rs12
1 files changed, 11 insertions, 1 deletions
diff --git a/native/src/renderer/null.rs b/native/src/renderer/null.rs
index c8852ad1..c06d1dfa 100644
--- a/native/src/renderer/null.rs
+++ b/native/src/renderer/null.rs
@@ -61,11 +61,21 @@ impl text::Renderer for Null {
}
impl scrollable::Renderer for Null {
- fn scrollbar_grab(
+ fn scrollbar_bounds(
&self,
_bounds: Rectangle,
_content_bounds: Rectangle,
_offset: u32,
+ ) -> (Rectangle, Rectangle) {
+ Default::default()
+ }
+
+ fn scrollbar_grab(
+ &self,
+ _bounds: Rectangle,
+ _content_bounds: Rectangle,
+ _background_bounds: Rectangle,
+ _scroller_bounds: Rectangle,
_cursor_position: Point,
) -> Option<ScrollbarGrab> {
None