File tree 2 files changed +7
-2
lines changed 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ @import ' ../core/style/variables' ;
2
+
1
3
$mat-progress-bar-height : 5px !default ;
2
4
$mat-progress-bar-full-animation-duration : 2000ms !default ;
3
5
$mat-progress-bar-piece-animation-duration : 250ms !default ;
@@ -33,7 +35,8 @@ $mat-progress-bar-piece-animation-duration: 250ms !default;
33
35
// beyond the current value of the primary progress bar.
34
36
.mat-progress-bar-buffer {
35
37
transform-origin : top left ;
36
- transition : transform $mat-progress-bar-piece-animation-duration ease ;
38
+ transition : transform $mat-progress-bar-piece-animation-duration ease ,
39
+ stroke $swift-ease-in-duration $ease-in-out-curve-function ;
37
40
}
38
41
39
42
// The secondary progress bar is only used in the indeterminate animation, because of this it
@@ -46,7 +49,8 @@ $mat-progress-bar-piece-animation-duration: 250ms !default;
46
49
.mat-progress-bar-fill {
47
50
animation : none ;
48
51
transform-origin : top left ;
49
- transition : transform $mat-progress-bar-piece-animation-duration ease ;
52
+ transition : transform $mat-progress-bar-piece-animation-duration ease ,
53
+ stroke $swift-ease-in-duration $ease-in-out-curve-function ;
50
54
}
51
55
52
56
// A pseudo element is created for each progress bar bar that fills with the indicator color.
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ $mat-progress-spinner-viewport-size: 100px !default;
35
35
36
36
// Stroke width of 10px defines stroke as 10% of the viewBox.
37
37
stroke-width : $mat-progress-spinner-stroke-width ;
38
+ transition : stroke $swift-ease-in-duration $ease-in-out-curve-function ;
38
39
}
39
40
40
41
You can’t perform that action at this time.
0 commit comments