mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-26 03:49:11 +00:00
Show document notices as status bars
This commit is contained in:
@@ -51,7 +51,7 @@ pub(super) enum Notice {
|
||||
|
||||
/// One inline notice with the icon named `icon`.
|
||||
fn bar(tone: Tone, icon: &'static str, text: String) -> Bar<'static> {
|
||||
Bar::new(tone, text).layout(NoticeLayout::Inline).icon(NoticeIcon::Custom(IconId::new(icon).into()))
|
||||
Bar::new(tone, text).layout(NoticeLayout::Bar).icon(NoticeIcon::Custom(IconId::new(icon).into()))
|
||||
}
|
||||
|
||||
/// The notices above the pages, one after another: a file changed on disk first, then what a historical
|
||||
|
||||
Reference in New Issue
Block a user