From 2b9aef6693310458fe590d85b3792bd40dbba3fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20G=C3=B6dde?= Date: Fri, 12 Apr 2024 19:29:28 +0200 Subject: [PATCH] Add thumbnail desaturation feature This update introduces a feature that allows users to adjust the desaturation level of video thumbnails, helping to mitigate issues with overly vibrant, clickbait thumbnails. The new setting is accessible via the options page and changes are implemented in the video player and thumbnail rendering functions. This user-configurable setting can range from 0 (vibrant) to 100 (black and white). --- maze-utils | 2 +- public/_locales | 2 +- public/options/options.html | 9 +++++++++ src/config/config.ts | 9 ++++++++- src/thumbnails/thumbnailRenderer.ts | 24 +++++++++++++++++++++++- src/videoBranding/videoBranding.ts | 3 ++- 6 files changed, 44 insertions(+), 5 deletions(-) diff --git a/maze-utils b/maze-utils index 03608640..c93b5684 160000 --- a/maze-utils +++ b/maze-utils @@ -1 +1 @@ -Subproject commit 036086403f675b8fea0e22065f26ba534e351562 +Subproject commit c93b56849c572bb71fc9e43342d01a8cd5a82690 diff --git a/public/_locales b/public/_locales index 45482163..c290e4bc 160000 --- a/public/_locales +++ b/public/_locales @@ -1 +1 @@ -Subproject commit 4548216354adcfed794a3bee42284e2f476a0fb7 +Subproject commit c290e4bc829cb13b3c055c79d4c26a90eeeb39ad diff --git a/public/options/options.html b/public/options/options.html index e93d3a16..3738d018 100644 --- a/public/options/options.html +++ b/public/options/options.html @@ -217,6 +217,15 @@
__MSG_titleMaxLinesDescription__
+
+ + +
__MSG_whatDesaturateThumbnails__
+
+