From 632eb0b12fc35a243a34e97d8aa6eb0990a3c64a Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 16 May 2023 19:15:41 +0400 Subject: [PATCH] Detach mediaview control color from main window. --- ui/basic_click_handlers.cpp | 2 +- ui/colors.palette | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/basic_click_handlers.cpp b/ui/basic_click_handlers.cpp index dc870a3f..f8a8084e 100644 --- a/ui/basic_click_handlers.cpp +++ b/ui/basic_click_handlers.cpp @@ -11,7 +11,6 @@ #include "ui/integration.h" #include "base/qthelp_url.h" #include "base/qt/qt_string_view.h" -#include "base/platform/linux/base_linux_app_launch_context.h" #include #include @@ -19,6 +18,7 @@ #include #if __has_include() +#include "base/platform/linux/base_linux_app_launch_context.h" #include #endif // __has_include() diff --git a/ui/colors.palette b/ui/colors.palette index e392465c..d709796e 100644 --- a/ui/colors.palette +++ b/ui/colors.palette @@ -515,7 +515,7 @@ mediaviewMenuFg: windowFgActive; // context menu item text mediaviewBg: #222222eb; // Media Viewer background mediaviewVideoBg: imageBg; // Media Viewer background when viewing a video in full screen mediaviewControlBg: #0000003c; // controls background (like next photo / previous photo) -mediaviewControlFg: windowFgActive; // controls icon (like next photo / previous photo) +mediaviewControlFg: #ffffff; // controls icon (like next photo / previous photo) mediaviewCaptionBg: #11111180; // caption text background (when viewing photo with caption) mediaviewCaptionFg: mediaviewControlFg; // caption text mediaviewTextLinkFg: #91d9ff; // caption text link