mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-24 19:31:51 +01:00
Show document notices as status bars
This commit is contained in:
1 parent
95670b10ec
commit
4e50292fda
1 file changed
+1
-1
@@ -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