Skip to content

Commit

Permalink
fix: loading animate time diffrence
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Sep 16, 2020
1 parent 7c3c9e1 commit 5aa109a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/styles/audioListsPanel.less
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
display: inline-flex;
width: 30px;
.loading {
animation: audioLoading 0.9s linear infinite;
animation: @loading-animate;
}
}
.player-delete {
Expand Down
2 changes: 1 addition & 1 deletion src/styles/mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
}
.loading {
display: inline-flex;
animation: audioLoading 1s linear infinite;
animation: @loading-animate;
svg {
font-size: 24px;
color: @primary-color;
Expand Down
1 change: 1 addition & 0 deletions src/styles/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
@base-color: rgba(255, 255, 255, 0.6);
@common-animate-type: cubic-bezier(0.43, -0.1, 0.16, 1.1);
@common-animate-time: 350ms @common-animate-type;
@loading-animate: audioLoading 1s linear infinite;
@progress-load-bar-bg-color: rgba(0, 0, 0, 0.11);
@progress-load-bar-bg-color-light: rgba(0, 0, 0, 0.06);
@progress-bar-bg-color-light: rgba(0, 0, 0, 0.09);
Expand Down

0 comments on commit 5aa109a

Please sign in to comment.