mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-01-12 11:06:41 +01:00
add Arranger::is_first_row/is_last_row for arrow focus
This commit is contained in:
parent
a4bd99c117
commit
7bd2a70e85
6 changed files with 81 additions and 27 deletions
|
|
@ -15,6 +15,9 @@ pub enum ArrangerFocus {
|
|||
|
||||
/// Focus identification methods
|
||||
impl ArrangerFocus {
|
||||
pub fn is_mix (&self) -> bool {
|
||||
match self { Self::Mix => true, _ => false }
|
||||
}
|
||||
pub fn is_track (&self) -> bool {
|
||||
match self { Self::Track(_) => true, _ => false }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue