From 19aaa6d416f4a47fafcc64173063304820225a9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Fri, 8 Mar 2024 08:52:40 +0000 Subject: [PATCH] fix to use the plugin font settings --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index db32fd9..053731e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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,