Fix Widget::draw for Rule

This commit is contained in:
Héctor Ramón Jiménez 2020-09-08 00:53:03 +02:00
parent 577fe8774c
commit 836a41c53e

View File

@ -77,6 +77,7 @@ where
_defaults: &Renderer::Defaults, _defaults: &Renderer::Defaults,
layout: Layout<'_>, layout: Layout<'_>,
_cursor_position: Point, _cursor_position: Point,
_viewport: &Rectangle,
) -> Renderer::Output { ) -> Renderer::Output {
renderer.draw(layout.bounds(), &self.style, self.is_horizontal) renderer.draw(layout.bounds(), &self.style, self.is_horizontal)
} }