mirror of
https://github.com/A-Star100/simpliplay-desktop.git
synced 2025-09-18 06:39:44 +00:00
Update player.js
This commit is contained in:
parent
d9a3d39e04
commit
58e694a396
@ -347,7 +347,7 @@ subtitlesInput.addEventListener('keydown', (e) => {
|
|||||||
const colorsEnabled = document.getElementById('colorsCheckbox').checked;
|
const colorsEnabled = document.getElementById('colorsCheckbox').checked;
|
||||||
mediaPlayer.controls = controlsEnabled;
|
mediaPlayer.controls = controlsEnabled;
|
||||||
if (colorsEnabled) {
|
if (colorsEnabled) {
|
||||||
mediaPlayer.style.filter = "contrast(1.2) saturate(1.3) brightness(1.05)";
|
mediaPlayer.style.filter = "contrast(1.1) saturate(1.15) brightness(1.03)";
|
||||||
} else {
|
} else {
|
||||||
mediaPlayer.style.filter = "";
|
mediaPlayer.style.filter = "";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user