mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 20:26:42 +01:00
chore: format
This commit is contained in:
parent
a3c21fa192
commit
4aadc712b8
4 changed files with 109 additions and 97 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue