From 29fb95cf8df113848e2c6d777c8dd76ab2ab5fc5 Mon Sep 17 00:00:00 2001 From: sammik Date: Tue, 25 Jun 2024 09:04:08 +0200 Subject: [PATCH] correct globalSig Backport of #23351 --- libmscore/timesig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmscore/timesig.h b/libmscore/timesig.h index 85acff9642a90..df5c7ce5e842d 100644 --- a/libmscore/timesig.h +++ b/libmscore/timesig.h @@ -120,7 +120,7 @@ class TimeSig final : public Element { const Groups& groups() const { return _groups; } void setGroups(const Groups& e) { _groups = e; } - Fraction globalSig() const { return (_sig * _stretch).reduced(); } + Fraction globalSig() const { return (_sig / _stretch).reduced(); } void setGlobalSig(const Fraction& f) { _stretch = (_sig / f).reduced(); } bool isLocal() const { return _stretch != Fraction(1,1); }