mirror of
https://github.com/heyman/heynote.git
synced 2025-06-21 01:57:46 +02:00
Fix seamless start/stop of update icon's spinning animation.
Bump version.
This commit is contained in:
parent
93bf1e9036
commit
ef5955feeb
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Heynote",
|
"name": "Heynote",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"main": "dist-electron/main/index.js",
|
"main": "dist-electron/main/index.js",
|
||||||
"description": "A dedicated scratch pad",
|
"description": "A dedicated scratch pad",
|
||||||
"author": "Jonatan Heyman (https://heyman.info)",
|
"author": "Jonatan Heyman (https://heyman.info)",
|
||||||
|
@ -167,6 +167,11 @@
|
|||||||
background-repeat: no-repeat
|
background-repeat: no-repeat
|
||||||
background-position: center center
|
background-position: center center
|
||||||
background-image: url("icons/update.svg")
|
background-image: url("icons/update.svg")
|
||||||
|
animation-name: spin
|
||||||
|
animation-duration: 2000ms
|
||||||
|
animation-iteration-count: infinite
|
||||||
|
animation-timing-function: linear
|
||||||
|
animation-play-state: paused
|
||||||
&.icon-download
|
&.icon-download
|
||||||
background-image: url("icons/download.svg")
|
background-image: url("icons/download.svg")
|
||||||
width: 16px
|
width: 16px
|
||||||
@ -174,8 +179,6 @@
|
|||||||
background-size: 16px
|
background-size: 16px
|
||||||
top: 3px
|
top: 3px
|
||||||
&.spinning
|
&.spinning
|
||||||
animation-name: spin
|
animation-play-state: running
|
||||||
animation-duration: 2000ms
|
|
||||||
animation-iteration-count: infinite
|
|
||||||
animation-timing-function: linear
|
|
||||||
</style>
|
</style>
|
Loading…
x
Reference in New Issue
Block a user