mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
wip: global enter
This commit is contained in:
parent
2105d86428
commit
9b770c468f
6 changed files with 43 additions and 28 deletions
|
|
@ -74,6 +74,8 @@ pub struct Arrangement<E: Engine> {
|
|||
pub color: ItemColor,
|
||||
/// Width and height of arrangement area at last render
|
||||
pub size: Measure<E>,
|
||||
/// Whether this is currently in edit mode
|
||||
pub entered: bool,
|
||||
}
|
||||
/// Represents a track in the arrangement
|
||||
pub struct ArrangementTrack {
|
||||
|
|
@ -308,6 +310,7 @@ impl<E: Engine> Arrangement<E> {
|
|||
focused: false,
|
||||
color: Color::Rgb(28, 35, 25).into(),
|
||||
size: Measure::new(),
|
||||
entered: false,
|
||||
}
|
||||
}
|
||||
fn is_stopped (&self) -> bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue