mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-10-08 18:56:42 +02:00
simplify scenes traits; wip axis binds
This commit is contained in:
parent
2adf22257e
commit
24c01bf133
10 changed files with 131 additions and 181 deletions
12
src/tek.rs
12
src/tek.rs
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue