Skip to content

Commit

Permalink
Removed glow under main menu options, see #5109 (#5245)
Browse files Browse the repository at this point in the history
  • Loading branch information
MollyMaclachlan authored Jan 17, 2025
1 parent f8c6c66 commit 13ba4b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/guiengine/skin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 13ba4b3

Please sign in to comment.