Skip to content

Commit 4133d03

Browse files
committed
fix(self-drawing-circle): rotation direction fix and spin stopping on reset
1 parent 23248bc commit 4133d03

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/with-without/wwo-self-drawing-circle/self-drawing-circle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class SelfDrawingCircle extends withLitHtml() {
3131
);
3232
outline.setAttribute('stroke-dasharray', `0 1000`);
3333
this.renderRoot
34-
.querySelector('.wwo-self-drawing-circle')
35-
.classList.remove('rotate');
34+
.querySelector('.wwo-self-drawing-circle__spinner')
35+
.classList.remove('spin');
3636
}
3737

3838
async _drawCircle(dashSize, speed) {

packages/with-without/wwo-self-drawing-circle/self-drawing-circle.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626

2727
@keyframes spin {
2828
100% {
29-
transform: rotateZ(-360deg);
29+
transform: rotateZ(360deg);
3030
}
3131
}

0 commit comments

Comments
 (0)