move ClockModel to tek_api

This commit is contained in:
🪞👃🪞 2024-11-26 22:02:41 +01:00
parent 4fdc3911e4
commit a26a1f2967
13 changed files with 214 additions and 222 deletions

View file

@ -91,8 +91,8 @@ pub fn arranger_content_vertical (
view: &ArrangerTui,
factor: usize
) -> impl Widget<Engine = Tui> + use<'_> {
let timebase = view.timebase();
let current = view.current();
let timebase = view.clock().timebase();
let current = &view.clock().current;
let tracks = view.tracks();
let scenes = view.scenes();
let cols = track_widths(tracks);