Fix `Widget::draw` for `Rule`
This commit is contained in:
parent
577fe8774c
commit
836a41c53e
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue