fix(ags): make slider knob work even when at 0

This commit is contained in:
matt1432 2023-09-27 15:47:16 -04:00
parent 3bc5c9ce97
commit 4e19e5525a
3 changed files with 3 additions and 1 deletions

View file

@ -148,7 +148,7 @@ export const PositionSlider = (player, params) => EventBox({
s.setCss(`highlight { background-color: ${player.colors.value.buttonAccent}; }
slider { background-color: ${player.colors.value.buttonAccent}; }
slider:hover { background-color: ${player.colors.value.hoverAccent}; }
trough { background-color: ${player.colors.value.buttonAccent}; }`);
trough { background-color: ${player.colors.value.buttonText}; }`);
}],
],
}),

View file

@ -93,6 +93,7 @@
}
trough {
margin: 0 8px;
border-radius: 2em;
}

View file

@ -657,6 +657,7 @@ calendar:indeterminate {
border-radius: 2em; }
.position-slider trough {
margin: 0 8px;
border-radius: 2em; }
.position-slider slider {