mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user