Skip to content

Commit

Permalink
fix to use the plugin font settings
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Mar 8, 2024
1 parent 073f920 commit 19aaa6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ impl IcedProps {
Self {
renderer: Renderer::Wgpu(iced_wgpu::Renderer::new(
backend,
iced_core::Font::default(),
iced_core::Pixels::from(12_f32),
config.settings.default_font,
config.settings.default_text_size,
)),
debug: iced_runtime::Debug::new(),
clipboard: iced_core::clipboard::Null,
Expand Down

0 comments on commit 19aaa6d

Please sign in to comment.