mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-09-18 04:46:43 +02:00
remove 'select' feature flag
This commit is contained in:
parent
7eef0cfb62
commit
a7ba45d254
2 changed files with 5 additions and 6 deletions
|
|
@ -59,7 +59,7 @@ hotpath = ["hotpath/hotpath"]
|
||||||
hotpath-cpu = ["hotpath/hotpath-cpu"]
|
hotpath-cpu = ["hotpath/hotpath-cpu"]
|
||||||
hotpath-alloc = ["hotpath/hotpath-alloc"]
|
hotpath-alloc = ["hotpath/hotpath-alloc"]
|
||||||
|
|
||||||
arranger = ["port", "editor", "sequencer", "track", "scene", "clip", "select"]
|
arranger = ["port", "editor", "sequencer", "track", "scene", "clip"]
|
||||||
browse = []
|
browse = []
|
||||||
clap = []
|
clap = []
|
||||||
cli = ["dep:clap"]
|
cli = ["dep:clap"]
|
||||||
|
|
@ -75,7 +75,6 @@ pool = []
|
||||||
port = []
|
port = []
|
||||||
sampler = ["port", "meter", "mixer", "browse", "symphonia", "wavers"]
|
sampler = ["port", "meter", "mixer", "browse", "symphonia", "wavers"]
|
||||||
scene = []
|
scene = []
|
||||||
select = []
|
|
||||||
sequencer = ["port", "clock", "uuid", "pool"]
|
sequencer = ["port", "clock", "uuid", "pool"]
|
||||||
sf2 = []
|
sf2 = []
|
||||||
track = []
|
track = []
|
||||||
|
|
|
||||||
|
|
@ -55,10 +55,10 @@ impl Scene {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(all(feature = "select"))] impl_as_ref_opt!(Scene: |self: App| self.project.as_ref_opt());
|
impl_as_ref_opt!(Scene: |self: App| self.project.as_ref_opt());
|
||||||
#[cfg(all(feature = "select"))] impl_as_mut_opt!(Scene: |self: App| self.project.as_mut_opt());
|
impl_as_mut_opt!(Scene: |self: App| self.project.as_mut_opt());
|
||||||
#[cfg(all(feature = "select"))] impl_as_ref_opt!(Scene: |self: Arrangement| self.selected_scene());
|
impl_as_ref_opt!(Scene: |self: Arrangement| self.selected_scene());
|
||||||
#[cfg(all(feature = "select"))] impl_as_mut_opt!(Scene: |self: Arrangement| self.selected_scene_mut());
|
impl_as_mut_opt!(Scene: |self: Arrangement| self.selected_scene_mut());
|
||||||
|
|
||||||
impl<T: AsRefOpt<Scene> + AsMutOpt<Scene> + Send + Sync> HasScene for T {}
|
impl<T: AsRefOpt<Scene> + AsMutOpt<Scene> + Send + Sync> HasScene for T {}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue