Skip to content

Commit

Permalink
fix offset problem on pedal
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed Oct 19, 2020
1 parent 80d730b commit f84498c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mei2ly.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -2436,6 +2436,9 @@
</xsl:if>
</xsl:template>
<xsl:template match="mei:pedal">
<xsl:if test="@dir = 'bounce'">
<xsl:text>\sustainOff</xsl:text>
</xsl:if>
<xsl:if test="$useSvgBackend">
<xsl:text>-\tweak output-attributes #&apos;</xsl:text>
<xsl:call-template name="setSvgAttr" />
Expand Down Expand Up @@ -2485,7 +2488,7 @@
<xsl:message select="'INFO: Half pedal not supported'" />
</xsl:when>
<xsl:when test="@dir = 'bounce'">
<xsl:text>\sustainOff\sustainOn</xsl:text>
<xsl:text>\sustainOn</xsl:text>
</xsl:when>
</xsl:choose>
</xsl:template>
Expand Down

0 comments on commit f84498c

Please sign in to comment.