mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Don't register any fonts by default for vizia
These now need to be registered individually by the plugin. This saves on binary size.
This commit is contained in:
@@ -33,6 +33,9 @@ pub(crate) fn create(
|
||||
editor_state: Arc<ViziaState>,
|
||||
) -> Option<Box<dyn Editor>> {
|
||||
create_vizia_editor(editor_state, ViziaTheming::Custom, move |cx, _| {
|
||||
assets::register_noto_sans_light(cx);
|
||||
assets::register_noto_sans_thin(cx);
|
||||
|
||||
cx.add_theme(STYLE);
|
||||
|
||||
Data {
|
||||
|
||||
Reference in New Issue
Block a user