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

@ -16,14 +16,15 @@ use crate::*;
/// let _ = editor.edit_status();
/// ```
pub struct MidiEditor {
/// Size of editor on screen
pub size: Size,
/// View mode and state of editor
pub mode: PianoHorizontal,
/// Size of editor on screen
pub size: Size,
}
impl_default!(MidiEditor: Self {
size: [0, 0].into(), mode: PianoHorizontal::new(None)
mode: PianoHorizontal::new(None),
size: Size(0.into(), 0.into()),
});
impl MidiEditor {