Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix progress shape using wrong <def> tag #9

Merged
merged 1 commit into from
Jun 14, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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