simplify scenes traits; wip axis binds

This commit is contained in:
i do not exist 2026-10-01 16:16:32 +03:00
parent 2adf22257e
commit 24c01bf133
10 changed files with 131 additions and 181 deletions

View file

@ -397,9 +397,15 @@ impl ScenesView for App {
(self.size.h() as u16).saturating_sub(20)
}
}
impl HasSceneScroll for App {
fn scene_scroll (&self) -> usize {
self.project.scene_scroll()
impl HasScenes for App {
fn scenes_scroll (&self) -> usize {
self.project.scenes_scroll()
}
fn scenes (&self) -> &Vec<Scene> {
self.project.scenes()
}
fn scenes_mut (&mut self) -> &mut Vec<Scene> {
self.project.scenes_mut()
}
}
impl HasTrackScroll for App {