From 025aa7d3f5c1e64816189402d07733ef818bc6eb Mon Sep 17 00:00:00 2001 From: "Murdo B. Maclachlan" Date: Sun, 12 Jan 2025 22:49:38 +0000 Subject: [PATCH] Removed glow under main menu options, see #5109 --- 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)