Skip to content

Commit

Permalink
fix: datepicker font render problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Nov 17, 2024
1 parent 52ef3d7 commit aaeec09
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 64 deletions.
121 changes: 60 additions & 61 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lala_bar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ iced = { version = "0.13.1", features = [
"markdown",
] }
iced_runtime = "0.13.2"
iced_layershell = "0.9.6"
iced_layershell = "0.9.7"
tokio = { version = "1.41", features = ["full"] }
iced_futures = "0.13.2"
env_logger = "0.11.5"
Expand Down
5 changes: 3 additions & 2 deletions lala_bar/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ pub fn main() -> Result<(), iced_layershell::Error> {
tracing_subscriber::filter::EnvFilter::builder()
.with_default_directive(LevelFilter::INFO.into())
.from_env_lossy()
.add_directive("usvg=off".parse().unwrap()), //.parse("usvg::parser::svgtree=off")
//.unwrap(),
.add_directive("usvg=off".parse().unwrap()),
)
.init();
LalaMusicBar::run(Settings {
Expand All @@ -42,8 +41,10 @@ pub fn main() -> Result<(), iced_layershell::Error> {
anchor: Anchor::Bottom | Anchor::Left | Anchor::Right,
layer: Layer::Top,
start_mode: StartMode::AllScreens,

..Default::default()
},
fonts: vec![std::borrow::Cow::Borrowed(iced_fonts::REQUIRED_FONT_BYTES)],
..Default::default()
})
}
Expand Down
Loading

0 comments on commit aaeec09

Please sign in to comment.