diff options
Diffstat (limited to 'src/components/utilities.rs')
-rw-r--r-- | src/components/utilities.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/utilities.rs b/src/components/utilities.rs index b0584ff7..7d869784 100644 --- a/src/components/utilities.rs +++ b/src/components/utilities.rs @@ -312,7 +312,7 @@ impl Component for StatusBar { get_x(upper_left), std::cmp::min( get_y(bottom_right) - height - hist_height + 1, - get_y(bottom_right), + get_y(pos_dec(bottom_right, (0, height))), ), ), pos_dec(bottom_right, (0, height)), @@ -339,7 +339,7 @@ impl Component for StatusBar { get_x(upper_left), std::cmp::min( get_y(bottom_right) - height - hist_height + 1, - get_y(bottom_right), + get_y(pos_dec(bottom_right, (0, height))), ), ), pos_dec(bottom_right, (0, height)), |