mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-25 07:25:47 +03:00
When nothing's selected, don't display anything in the status bar. Previously, it was '...', which looked clickable.
This commit is contained in:
parent
0320b2be89
commit
0feeb3cee4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user