mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-28 12:12:00 +03:00
fix unicode characters that arent in roboto
This commit is contained in:
parent
6135fe606a
commit
8288a4b6af
@ -197,8 +197,8 @@ impl Widget {
|
||||
) -> Widget {
|
||||
Widget::custom_checkbox(
|
||||
enabled,
|
||||
Btn::text_fg(format!("☐ {}", label)).build(ctx, label, hotkey.clone()),
|
||||
Btn::text_fg(format!("☑ {}", label)).build(ctx, label, hotkey),
|
||||
Btn::text_fg(format!("[ ] {}", label)).build(ctx, label, hotkey.clone()),
|
||||
Btn::text_fg(format!("[X] {}", label)).build(ctx, label, hotkey),
|
||||
)
|
||||
.outline(2.0, Color::WHITE)
|
||||
.named(label)
|
||||
|
@ -58,7 +58,7 @@ impl<T: 'static + Clone> Menu<T> {
|
||||
}
|
||||
if choice.tooltip.is_some() {
|
||||
// TODO Ideally unicode info symbol, but the fonts don't seem to have it
|
||||
txt.append(Line(" ⚠️"));
|
||||
txt.append(Line(" <EFBFBD>"));
|
||||
}
|
||||
|
||||
// TODO BG color should be on the TextSpan, so this isn't so terrible?
|
||||
|
Loading…
Reference in New Issue
Block a user