Skip to content

Commit

Permalink
fix issue where helptext some times was not visible
Browse files Browse the repository at this point in the history
  • Loading branch information
OlofBlomqvist committed Feb 6, 2024
1 parent 398c793 commit c6ae8f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "odd-box"
description = "dead simple reverse proxy server"
version = "0.0.8"
version = "0.0.9"
edition = "2021"
authors = ["Olof Blomqvist <olof@twnet.se>"]
repository = "https://github.com/OlofBlomqvist/odd-box"
Expand Down
2 changes: 1 addition & 1 deletion src/tui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ fn draw_ui<B: ratatui::backend::Backend>(f: &mut ratatui::Frame, app_state: &mut
let constraints = if app_state.show_apps_window {
vec![
Constraint::Percentage(70),
Constraint::Percentage(30 - (help_bar_height * 100 / size.height)),
Constraint::Min(0),
Constraint::Length(help_bar_height),
]
} else {
Expand Down

0 comments on commit c6ae8f0

Please sign in to comment.