From 02e522cff11e6635663cd6acb25cb1bf7519c14f Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 12 Jan 2023 19:01:22 +0100 Subject: [PATCH] Update Crisp for cosmic-text changes --- plugins/crisp/src/editor.rs | 2 +- plugins/crisp/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/crisp/src/editor.rs b/plugins/crisp/src/editor.rs index 9de3b088..ca793dfd 100644 --- a/plugins/crisp/src/editor.rs +++ b/plugins/crisp/src/editor.rs @@ -57,7 +57,7 @@ pub(crate) fn create( .font_size(30.0) .height(Pixels(50.0)) .child_top(Stretch(1.0)) - .child_bottom(Pixels(0.0)) + .child_bottom(Pixels(1.0)) // Make this more or less align with the parameters column .right(Pixels(67.0)); diff --git a/plugins/crisp/src/lib.rs b/plugins/crisp/src/lib.rs index 57a4be03..9cefb2d7 100644 --- a/plugins/crisp/src/lib.rs +++ b/plugins/crisp/src/lib.rs @@ -39,7 +39,7 @@ const MAX_FILTER_FREQUENCY: f32 = 22_000.0; /// This plugin essentially layers the sound with another copy of the signal ring modulated with /// white (or filtered) noise. That other copy of the sound may have a low-pass filter applied to it /// since this effect just turns into literal noise at high frequencies. -struct Crisp { +pub struct Crisp { params: Arc, /// Needed for computing the filter coefficients.