Skip to content

Commit 4925e68

Browse files
committed
Remove unused --plot-angle variable, conditionally apply rotation in @place
1 parent 1af4cb7 commit 4925e68

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/property.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ export default add_alias({
6666
margin-left: calc(${cw} / -2);
6767
margin-top: calc(${ch} / -2);
6868
grid-area: unset;
69-
--plot-angle: ${extra || 0};
70-
rotate: ${extra || 0}deg;
69+
${extra ? `rotate: ${extra || 0}deg`: ''}
7170
`;
7271
},
7372

0 commit comments

Comments
 (0)