From 7de0700f8cb2848af0e98d7b44b8d6d99eb25b9f Mon Sep 17 00:00:00 2001 From: thoun Date: Thu, 19 Nov 2020 15:19:13 +0100 Subject: [PATCH] Fix always-true comparison --- src/rendering/utils/BeamingHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendering/utils/BeamingHelper.ts b/src/rendering/utils/BeamingHelper.ts index 806657a86..c7c6fd083 100644 --- a/src/rendering/utils/BeamingHelper.ts +++ b/src/rendering/utils/BeamingHelper.ts @@ -296,7 +296,7 @@ export class BeamingHelper { return true; } let m1: Bar = b1.voice.bar; - let m2: Bar = b1.voice.bar; + let m2: Bar = b2.voice.bar; // only join on same measure if (m1 !== m2) { return false;