Explorar o código

Merge pull request #709 from fredmeister77/bugfix/#700

fix #700, half note tuplets not rendered as whole notes anymore
Simon %!s(int64=5) %!d(string=hai) anos
pai
achega
c14a834c32
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/MusicalScore/Graphical/VexFlow/VexFlowConverter.ts

+ 1 - 1
src/MusicalScore/Graphical/VexFlow/VexFlowConverter.ts

@@ -62,7 +62,7 @@ export class VexFlowConverter {
           return "w";
       } else if (dur < 1 && dur >= 0.5) {
         // change to the next higher straight note to get the correct note display type
-        if (isTuplet) {
+        if (isTuplet && dur > 0.5) {
           return "w";
         }
         return "h";