Move ParamPtr to the prelude

This commit is contained in:
Robbert van der Helm
2022-03-23 12:46:46 +01:00
parent d97826e6a3
commit 9e3149b931
9 changed files with 9 additions and 16 deletions

View File

@@ -5,7 +5,7 @@
//! None of these widgets are finalized, and their sizes or looks can change at any point. Feel free
//! to copy the widgets and modify them to your personal taste.
use nih_plug::param::internals::ParamPtr;
use nih_plug::prelude::ParamPtr;
pub mod generic_ui;
pub mod param_slider;

View File

@@ -7,8 +7,7 @@ use std::collections::HashMap;
use std::marker::PhantomData;
use std::pin::Pin;
use nih_plug::param::internals::ParamPtr;
use nih_plug::prelude::{Param, Params};
use nih_plug::prelude::{Param, ParamPtr, Params};
use super::{ParamMessage, ParamSlider};
use crate::backend::Renderer;