mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-09-18 12:56:42 +02:00
remove 'select' feature flag
This commit is contained in:
parent
7eef0cfb62
commit
a7ba45d254
2 changed files with 5 additions and 6 deletions
|
|
@ -55,10 +55,10 @@ impl Scene {
|
|||
|
||||
}
|
||||
|
||||
#[cfg(all(feature = "select"))] 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());
|
||||
#[cfg(all(feature = "select"))] 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_ref_opt!(Scene: |self: App| self.project.as_ref_opt());
|
||||
impl_as_mut_opt!(Scene: |self: App| self.project.as_mut_opt());
|
||||
impl_as_ref_opt!(Scene: |self: Arrangement| self.selected_scene());
|
||||
impl_as_mut_opt!(Scene: |self: Arrangement| self.selected_scene_mut());
|
||||
|
||||
impl<T: AsRefOpt<Scene> + AsMutOpt<Scene> + Send + Sync> HasScene for T {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue