You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let entry = note_properties.entry(next_idx asu32).or_default();
261
+
entry.slurs.push(Slur::stop(slur_cnt));
265
262
}
266
263
// since we know that with a "hanging bend" the next element in this track is going to be a rest, we can just silently replace it and add the correct note
267
264
Some(TabElement3::Rest) => {
@@ -275,18 +272,12 @@ fn gen_muxml2(
275
272
traceln!(
276
273
"hanging bend on {stream_idx}, replacing {next_idx} with a Fret"
277
274
);
278
-
note_properties
279
-
.entry(next_idx asu32)
280
-
.or_default()
281
-
.slurs
282
-
.push(Slur2::stop(slur_cnt));
275
+
let entry = note_properties.entry(next_idx asu32).or_default();
276
+
entry.slurs.push(Slur::stop(slur_cnt));
283
277
}
284
278
_ => {
285
-
note_properties
286
-
.entry(next_idx asu32)
287
-
.or_default()
288
-
.slurs
289
-
.push(Slur2::stop(slur_cnt));
279
+
let entry = note_properties.entry(next_idx asu32).or_default();
0 commit comments