Refactor mode indicator to remove itself

One of the problems we had is that the status_bar shows a gap between
items, and we want to not add an additional gap for an invisible status
indicator.
This commit is contained in:
Conrad Irwin
2023-07-24 09:51:54 -06:00
parent d14a484a20
commit 43d94e37ec
7 changed files with 142 additions and 41 deletions
+1 -1
View File
@@ -402,7 +402,7 @@ pub struct StatusBar {
pub height: f32,
pub item_spacing: f32,
pub cursor_position: TextStyle,
pub vim_mode: TextStyle,
pub vim_mode_indicator: TextStyle,
pub active_language: Interactive<ContainedText>,
pub auto_update_progress_message: TextStyle,
pub auto_update_done_message: TextStyle,