Skip to content

Commit

Permalink
Merge pull request #1332 from tarkah/fix/rule-helper
Browse files Browse the repository at this point in the history
Fix vertical rule helper
  • Loading branch information
hecrj authored May 4, 2022
2 parents 02914e5 + 0abb820 commit 161c792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pure/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ pub fn horizontal_rule<'a>(height: u16) -> widget::Rule<'a> {
///
/// [`Rule`]: widget::Rule
pub fn vertical_rule<'a>(width: u16) -> widget::Rule<'a> {
widget::Rule::horizontal(width)
widget::Rule::vertical(width)
}

/// Creates a new [`ProgressBar`].
Expand Down

0 comments on commit 161c792

Please sign in to comment.