Merge branch 'develop' of https://github.com/sampotts/plyr into develop
This commit is contained in:
commit
b9ea9fba9a
2
src/js/controls.js
vendored
2
src/js/controls.js
vendored
@ -1587,7 +1587,7 @@ const controls = {
|
|||||||
|
|
||||||
// If function, run it and use output
|
// If function, run it and use output
|
||||||
if (is.function(this.config.controls)) {
|
if (is.function(this.config.controls)) {
|
||||||
this.config.controls = this.config.controls.call(this.props);
|
this.config.controls = this.config.controls.call(this, props);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convert falsy controls to empty array (primarily for empty strings)
|
// Convert falsy controls to empty array (primarily for empty strings)
|
||||||
|
@ -42,13 +42,13 @@
|
|||||||
|
|
||||||
&::-webkit-progress-bar {
|
&::-webkit-progress-bar {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
transition: width 0.2s ease;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&::-webkit-progress-value {
|
&::-webkit-progress-value {
|
||||||
background: currentColor;
|
background: currentColor;
|
||||||
border-radius: 100px;
|
border-radius: 100px;
|
||||||
min-width: $plyr-range-track-height;
|
min-width: $plyr-range-track-height;
|
||||||
|
transition: width 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mozilla
|
// Mozilla
|
||||||
|
Loading…
x
Reference in New Issue
Block a user