chrome: switch from ALPHA to BETA
Fixes: #828 Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -313,19 +313,23 @@ fn milestone_name() -> impl Widget {
|
|||||||
|ui: &mut egui::Ui| -> egui::Response {
|
|ui: &mut egui::Ui| -> egui::Response {
|
||||||
ui.vertical_centered(|ui| {
|
ui.vertical_centered(|ui| {
|
||||||
let font = egui::FontId::new(
|
let font = egui::FontId::new(
|
||||||
notedeck::fonts::get_font_size(
|
notedeck::fonts::get_font_size(ui.ctx(), &NotedeckTextStyle::Tiny),
|
||||||
ui.ctx(),
|
|
||||||
&NotedeckTextStyle::Tiny,
|
|
||||||
),
|
|
||||||
egui::FontFamily::Name(notedeck::fonts::NamedFontFamily::Bold.as_str().into()),
|
egui::FontFamily::Name(notedeck::fonts::NamedFontFamily::Bold.as_str().into()),
|
||||||
);
|
);
|
||||||
ui.add(Label::new(
|
ui.add(
|
||||||
RichText::new("ALPHA")
|
Label::new(
|
||||||
.color( ui.style().visuals.noninteractive().fg_stroke.color)
|
RichText::new("BETA")
|
||||||
.font(font),
|
.color(ui.style().visuals.noninteractive().fg_stroke.color)
|
||||||
).selectable(false)).on_hover_text("Notedeck is an alpha product. Expect bugs and contact us when you run into issues.").on_hover_cursor(egui::CursorIcon::Help)
|
.font(font),
|
||||||
|
)
|
||||||
|
.selectable(false),
|
||||||
|
)
|
||||||
|
.on_hover_text(
|
||||||
|
"Notedeck is a beta product. Expect bugs and contact us when you run into issues.",
|
||||||
|
)
|
||||||
|
.on_hover_cursor(egui::CursorIcon::Help)
|
||||||
})
|
})
|
||||||
.inner
|
.inner
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user