mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
16 lines
383 B
Rust
16 lines
383 B
Rust
/// Display mode of arranger
|
|
pub enum ArrangerViewMode {
|
|
Vertical,
|
|
VerticalCompact,
|
|
Horizontal,
|
|
}
|
|
|
|
impl ArrangerViewMode {
|
|
pub fn to_next (&mut self) {
|
|
*self = match self {
|
|
Self::Vertical => Self::VerticalCompact,
|
|
Self::VerticalCompact => Self::Horizontal,
|
|
Self::Horizontal => Self::Vertical,
|
|
}
|
|
}
|
|
}
|