tweak osd for narrow view
This commit is contained in:
@@ -157,7 +157,7 @@
|
||||
}
|
||||
|
||||
.mdl-slider-background-flex {
|
||||
background: #333;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
height: 0.2em;
|
||||
margin-top: -0.1em;
|
||||
width: 100%;
|
||||
|
||||
@@ -442,7 +442,9 @@ import 'emby-input';
|
||||
position = (position / runtime) * 100;
|
||||
}
|
||||
|
||||
for (const range in ranges) {
|
||||
for (let i = 0, length = ranges.length; i < length; i++) {
|
||||
const range = ranges[i];
|
||||
|
||||
if (position != null) {
|
||||
if (position >= range.end) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user