Skip to content

Commit

Permalink
add method to get save state from backend handle
Browse files Browse the repository at this point in the history
  • Loading branch information
Billy authored and Billy committed Aug 20, 2021
1 parent a856f00 commit a29db81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/backend/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ impl BackendHandle {
)
}

pub fn project_save_state(&self) -> &ProjectSaveState {
&self.save_state
}

// TODO: Interface for editing the tempo map directly.
pub fn set_bpm(&mut self, bpm: f64) {
assert!(bpm > 0.0);
Expand Down

0 comments on commit a29db81

Please sign in to comment.