From 47a055dd916dec371568d1121e742124698b2ebb Mon Sep 17 00:00:00 2001 From: DanceMore Date: Mon, 26 Feb 2024 19:27:13 -0800 Subject: [PATCH] fix --- src/editor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor.rs b/src/editor.rs index 009bf37..b41f86c 100644 --- a/src/editor.rs +++ b/src/editor.rs @@ -31,8 +31,8 @@ pub(crate) fn create( editor_state: Arc, ) -> Option> { create_vizia_editor(editor_state, ViziaTheming::Builtin, move |cx, _| { - let _ = cx.add_theme(THEME); - let _ = cx.add_theme(WIDGETS); + let _ = cx.add_stylesheet(THEME); + let _ = cx.add_stylesheet(WIDGETS); nih_plug_vizia::vizia_assets::register_roboto(cx); assets::register_noto_sans_light(cx); assets::register_noto_sans_thin(cx);