controls: Use isFullscreen and isMobile from main widget

The "controls.isMobile" was used incorrectly here as it holds value if
controls are in mobile mode, not if running on mobile screen.
Use those values from clapper main widget instead. This fixes incorrect
chapter popover placement on mobile screens.

Also handle fine-tune in CSS as this code path is hit multiple times
when starting/stopping slider drag.
This commit is contained in:
Rafostar
2021-09-05 11:30:34 +02:00
parent d0304d4ded
commit ca168f34ed
2 changed files with 13 additions and 14 deletions

View File

@@ -187,6 +187,14 @@ scale trough slider {
.positionscale trough highlight {
min-height: 6px;
}
.fullscreen.tvmode .positionscale {
padding-left: 12px;
padding-right: 12px;
}
.fullscreen.tvmode .positionscale.fine-tune {
padding-left: 12px;
padding-right: 12px;
}
.fullscreen.tvmode .positionscale trough slider {
color: transparent;
background: transparent;