From 9f04d7aad8e27064f636815b6f16ca2cfe72cd16 Mon Sep 17 00:00:00 2001
From: Leon Styhre <leon@leonstyhre.com>
Date: Sun, 13 Feb 2022 11:23:41 +0100
Subject: [PATCH] Fixed an issue where marquee images would not show for legacy
 themes.

---
 es-core/src/GuiComponent.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/es-core/src/GuiComponent.cpp b/es-core/src/GuiComponent.cpp
index 09609ebcf..f83d36678 100644
--- a/es-core/src/GuiComponent.cpp
+++ b/es-core/src/GuiComponent.cpp
@@ -362,6 +362,8 @@ void GuiComponent::applyTheme(const std::shared_ptr<ThemeData>& theme,
 
     if (properties & ThemeFlags::VISIBLE && elem->has("visible") && !elem->get<bool>("visible"))
         mThemeOpacity = 0.0f;
+    else
+        setVisible(true);
 }
 
 void GuiComponent::updateHelpPrompts()