Fix seamless start/stop of update icon's spinning animation.

Bump version.
This commit is contained in:
Jonatan Heyman 2023-03-07 02:24:08 +01:00
parent 93bf1e9036
commit ef5955feeb
2 changed files with 8 additions and 5 deletions

View File

@ -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)",

View File

@ -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>