Skip to content

Commit

Permalink
Merge pull request #9 from dgthanhan/master
Browse files Browse the repository at this point in the history
Fix progress shape using wrong <def> tag
  • Loading branch information
nathanielw committed Jun 14, 2016
2 parents 9cc3edd + cfc93ff commit 1239be9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Definition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1453,11 +1453,11 @@ Citizen Kane | Orson Welles | 1941]]></Property>
<Behaviors>
<For ref="area">
<Box>$box</Box>
<Radius>$radius.x</Radius>
<Radius><Arg>$radius.x</Arg><Arg>$radius.x</Arg></Radius>
</For>

<For ref="clipRect">
<Bound>new Bound($box.x, $box.x, $progress.x, $box.h)</Bound>
<Bound>new Bound(0, 0, $progress.x, $box.h)</Bound>
</For>

<For ref="bg">
Expand Down Expand Up @@ -1485,7 +1485,7 @@ Citizen Kane | Orson Welles | 1941]]></Property>

<p:Content xmlns:p="http://www.evolus.vn/Namespace/Pencil"
xmlns="http://www.w3.org/2000/svg">
<def>
<defs>
<rect id="area" />

<clipPath id="progressClip">
Expand Down Expand Up @@ -1517,7 +1517,7 @@ Citizen Kane | Orson Welles | 1941]]></Property>
patternTransform="rotate(-45)" >
<rect x="0" y="0" width="14px" height="20px" style="opacity:0.15; stroke: none; fill: #ffffff" />
</pattern>
</def>
</defs>
<use xlink:href="#area" id="bg" style="filter:url(#innerShadow)" />
<use xlink:href="#area" id="fg" style="clip-path: url(#progressClip);" />
<use xlink:href="#area" id="stripes" style="clip-path: url(#progressClip); fill: url(#stripes);" />
Expand Down

0 comments on commit 1239be9

Please sign in to comment.