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
1 changed files with 1 additions and 0 deletions

View File

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