chore: format

This commit is contained in:
🪞👃🪞 2024-07-04 14:35:41 +03:00
parent a3c21fa192
commit 4aadc712b8
4 changed files with 109 additions and 97 deletions

View file

@ -45,7 +45,7 @@ render!(App |self, buf, area| {
ChainView { focused: self.section == 1, track: Some(track) }
.render(buf, Rect { x, y: y + height - height / 3 - 1, width, height: height / 3 })?.height;
y = y + SequencerView {
SequencerView {
focused: self.section == 2,
ppq: self.timebase.ppq() as usize,
now: self.timebase.frames_pulses(self.playhead as f64) as usize,
@ -55,7 +55,7 @@ render!(App |self, buf, area| {
time_zoom: self.time_zoom,
note_cursor: self.note_cursor,
note_start: self.note_start,
}.render(buf, Rect { x, y, width, height: height - height / 3 })?.height;
}.render(buf, Rect { x, y, width, height: height - height / 3 })?;
}
if let Some(ref modal) = self.modal {