From 314f32b95fe4fd8fe496fc69a89cdcfff99123f1 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Sat, 7 Sep 2024 06:03:21 +1000 Subject: [PATCH] Revert "Attempt to fix buttons' labels being invisible on some Forms" This reverts commit 404f28fa64db9d956d2e9bca28745256aac568db. --- src/BizHawk.Client.EmuHawk/FormBase.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/BizHawk.Client.EmuHawk/FormBase.cs b/src/BizHawk.Client.EmuHawk/FormBase.cs index 04f01394ca..a0ca4c8b31 100644 --- a/src/BizHawk.Client.EmuHawk/FormBase.cs +++ b/src/BizHawk.Client.EmuHawk/FormBase.cs @@ -13,8 +13,6 @@ namespace BizHawk.Client.EmuHawk { private const string PLACEHOLDER_TITLE = "(will take value from WindowTitle/WindowTitleStatic)"; - private static readonly bool IsUsingGTKThemeWorkaround = string.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("GTK_DATA_PREFIX") ?? "UNSET"); - /// /// Under Mono, SystemColors.Control returns an ugly beige.
/// This method recursively replaces the of the given (can be a ) with @@ -78,7 +76,7 @@ namespace BizHawk.Client.EmuHawk Close(); return; } - if (OSTailoredCode.IsUnixHost && !IsUsingGTKThemeWorkaround) FixBackColorOnControls(this); + if (OSTailoredCode.IsUnixHost) FixBackColorOnControls(this); UpdateWindowTitle(); }