trim blueprints before saving

This commit is contained in:
Crispy 2024-10-10 17:21:18 +02:00
parent 51f14014c5
commit d92c5a2c25

View file

@ -277,6 +277,7 @@ impl Editor {
}
}
}
board.trim_size(0);
let mut blueprint = Blueprint::new(&board, self.blueprints.len());
if !self.new_blueprint_name.is_empty() {
blueprint.name = self.new_blueprint_name.clone();