restruct: 25e

This commit is contained in:
i do not exist 2026-06-24 16:20:30 +03:00
parent c737c7d839
commit 3bbe52093e
11 changed files with 454 additions and 432 deletions

View file

@ -32,10 +32,10 @@ impl Draw<Tui> for PianoHorizontal {
impl PianoHorizontal {
pub fn new (clip: Option<&Arc<RwLock<MidiClip>>>) -> Self {
let size: Size = [0, 0].into();
let size = Size::default();
let mut range = MidiSelection::from((12, true));
range.time_axis = size.x.clone();
range.note_axis = size.y.clone();
range.time_axis = size.0.clone();
range.note_axis = size.1.clone();
let piano = Self {
keys_width: 5,
size,