When nothing's selected, don't display anything in the status bar. Previously, it was '...', which looked clickable.

This commit is contained in:
Dustin Carlino 2021-02-25 10:56:02 -08:00
parent 0320b2be89
commit 0feeb3cee4

View File

@ -100,7 +100,7 @@ impl CommonState {
Line(" to warp"),
])
} else {
Text::from(Line("..."))
Text::new()
};
if !keys.is_empty() {
osd.append(Line(" Hotkeys: "));
@ -228,7 +228,7 @@ impl CommonState {
Line(" to warp"),
])
} else {
Text::from(Line("..."))
Text::new()
};
CommonState::draw_custom_osd(g, app, osd);
}