Skip to content

Commit

Permalink
Use the prelude in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
exa04 committed Apr 16, 2024
1 parent d636e7d commit fdf19f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/visualizers/src/editor.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
use std::sync::{Arc, Mutex};

use cyma::prelude::*;
use cyma::{
utils::{PeakBuffer, RingBuffer, SpectrumOutput, ValueScaling, WaveformBuffer},
utils::{PeakBuffer, RingBuffer, SpectrumOutput, WaveformBuffer},
visualizers::{
Graph, Grid, Lissajous, LissajousGrid, Meter, Oscilloscope, SpectrumAnalyzer,
SpectrumAnalyzerModifiers, SpectrumAnalyzerVariant, UnitRuler, Waveform,
},
};
use nih_plug::editor::Editor;
use nih_plug_vizia::{assets, create_vizia_editor, vizia::prelude::*, ViziaState, ViziaTheming};
use std::sync::{Arc, Mutex};

#[derive(Lens, Clone)]
pub(crate) struct Data {
Expand Down
5 changes: 2 additions & 3 deletions examples/visualizers/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use cyma::utils::{
PeakBuffer, RingBuffer, SpectrumInput, SpectrumOutput, VisualizerBuffer, WaveformBuffer,
};
use cyma::prelude::*;
use cyma::utils::{PeakBuffer, RingBuffer, SpectrumInput, SpectrumOutput, WaveformBuffer};
use nih_plug::prelude::*;
use nih_plug_vizia::ViziaState;
use std::{
Expand Down

0 comments on commit fdf19f1

Please sign in to comment.