Fixing subtle bugs
This commit is contained in:
@@ -35,11 +35,13 @@ impl From<&Project> for ProjectFile {
|
||||
|
||||
impl From<ProjectFile> for Project {
|
||||
fn from(file: ProjectFile) -> Self {
|
||||
Self {
|
||||
let mut project = Self {
|
||||
banks: file.banks,
|
||||
sample_paths: file.sample_paths,
|
||||
tempo: file.tempo,
|
||||
}
|
||||
};
|
||||
project.normalize();
|
||||
project
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user