From 13ba4b38e7b30f77252f0e238cc4ed0c460b5b17 Mon Sep 17 00:00:00 2001 From: "Molly M.B. Maclachlan" Date: Fri, 17 Jan 2025 17:01:18 +0000 Subject: [PATCH] Removed glow under main menu options, see #5109 (#5245) --- src/guiengine/skin.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/guiengine/skin.cpp b/src/guiengine/skin.cpp index 9a674c75b1..e4e1569d6e 100644 --- a/src/guiengine/skin.cpp +++ b/src/guiengine/skin.cpp @@ -1424,10 +1424,11 @@ void Skin::drawRibbonChild(const core::recti &rect, Widget* widget, } const bool mark_focused = - focused || (parent_focused && parentRibbonWidget != NULL && + (focused || (parent_focused && parentRibbonWidget != NULL && parentRibbonWidget->m_mouse_focus == widget) || (mark_selected && !always_show_selection && - parent_focused); + parent_focused)) && + widget->m_properties[PROP_FOCUS_ICON].size() == 0; /* draw "selection bubble" if relevant */ if (always_show_selection && mark_selected)