Fix GH#19819: Allow approximately equal signs to work on tempo text
also allow a plain `~`
This commit is contained in:
parent
24a27b48bd
commit
026dad9c5c
|
@ -256,6 +256,9 @@ void TempoText::updateTempo()
|
|||
String s = plainText();
|
||||
s.replace(u",", u".");
|
||||
s.replace(u"<sym>space</sym>", u" ");
|
||||
s.replace(u"≒", u"=");
|
||||
s.replace(u"≈", u"=");
|
||||
s.replace(u"~", u"=");
|
||||
std::string su8 = s.toStdString();
|
||||
for (const TempoPattern& pa : tp) {
|
||||
String pattern = String::fromUtf8(pa.pattern);
|
||||
|
|
Loading…
Reference in a new issue