diff options
author | 2021-10-18 14:48:33 +0700 | |
---|---|---|
committer | 2021-10-18 14:48:33 +0700 | |
commit | 54a9a232f8110364972a8eef966b7b7477573f4f (patch) | |
tree | a6abebbcfefbd53d4c4d006d6911353801ea3284 /native/src/renderer | |
parent | a4f4d831615899046d36c96e6a580d5386aa25bf (diff) | |
download | iced-54a9a232f8110364972a8eef966b7b7477573f4f.tar.gz iced-54a9a232f8110364972a8eef966b7b7477573f4f.tar.bz2 iced-54a9a232f8110364972a8eef966b7b7477573f4f.zip |
Draw scrollbar in `Widget::draw` for `Scrollable`
Diffstat (limited to 'native/src/renderer')
-rw-r--r-- | native/src/renderer/null.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/native/src/renderer/null.rs b/native/src/renderer/null.rs index 1c026fde..960a5727 100644 --- a/native/src/renderer/null.rs +++ b/native/src/renderer/null.rs @@ -75,22 +75,6 @@ impl text::Renderer for Null { } } -impl scrollable::Renderer for Null { - type Style = (); - - fn scrollbar( - &self, - _bounds: Rectangle, - _content_bounds: Rectangle, - _offset: u32, - _scrollbar_width: u16, - _scrollbar_margin: u16, - _scroller_width: u16, - ) -> Option<scrollable::Scrollbar> { - None - } -} - impl text_input::Renderer for Null { type Style = (); |