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 7f02765214
commit 91b1886968

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)
}