wip: now just gotta fix 26 type errors

This commit is contained in:
🪞👃🪞 2025-05-08 17:43:42 +03:00
parent ee7f9dcf12
commit 16d267523b
6 changed files with 259 additions and 209 deletions

View file

@ -1195,8 +1195,8 @@ impl MidiViewer for PianoHorizontal {
let clip = clip.read().unwrap();
let buf_size = self.buffer_size(&clip);
let mut buffer = BigBuffer::from(buf_size);
let note_len = self.note_len();
let time_zoom = self.time_zoom().get();
let note_len = self.get_note_len();
let time_zoom = self.get_time_zoom();
self.time_len().set(clip.length);
PianoHorizontal::draw_bg(&mut buffer, &clip, time_zoom, note_len);
PianoHorizontal::draw_fg(&mut buffer, &clip, time_zoom);