Skip to content

Commit 2e00adb

Browse files
authored
Add transition animation (#6)
1 parent 58171b4 commit 2e00adb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flex-horseshoe-card.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,8 @@ class FlexHorseshoeCard extends LitElement {
11041104
stroke-dasharray="${this.dashArray}"
11051105
stroke-width="${this.config.horseshoe_state.width || 12}"
11061106
stroke-linecap="round"
1107-
transform="rotate(-220 100 100)"/>
1107+
transform="rotate(-220 100 100)"
1108+
style="transition: all 2.5s ease-out;"/>
11081109
11091110
${this._renderTickMarks()}
11101111
</g>

0 commit comments

Comments
 (0)