From 02db103a727448d06046590f56909f92753e019e Mon Sep 17 00:00:00 2001 From: redphx <96280+redphx@users.noreply.github.com> Date: Wed, 29 May 2024 20:19:36 +0700 Subject: [PATCH] Fix pink border when using Clarity feature in Logitech G Cloud --- src/modules/ui/ui.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ui/ui.ts b/src/modules/ui/ui.ts index f316207..4220083 100644 --- a/src/modules/ui/ui.ts +++ b/src/modules/ui/ui.ts @@ -491,7 +491,7 @@ function resizeVideoPlayer() { // Update size $video.style.width = `${width}px`; $video.style.height = `${height}px`; - $video.style.objectFit = 'fill'; + $video.style.objectFit = 'scale-down'; } else { $video.style.width = '100%'; $video.style.height = '100%';