Skip to content

Commit

Permalink
Simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanchuan committed Aug 21, 2023
1 parent 9f2c7b4 commit 05aad82
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -575,13 +575,11 @@ export default {
stroke-linecap: square;
stroke: blue;
fill: none;
g*0-3 {
path {
d: @M0-3(
M @p.calc(12 - 6/4*@n) 12 @p 6
A @p.calc(6 - 6/4*@n) @p 0 1 0 6 @lp3
);
}
path*0-3 {
d: @M0-3(
M @p.calc(12 - 6/4*@n) 12 @p 6
A @p.calc(6 - 6/4*@n) @p 0 1 0 6 @lp3
);
transform:
translate(@pn(0 0, 24 0, 24 24, 0 24))
rotate(@n(*90));
Expand Down

0 comments on commit 05aad82

Please sign in to comment.