Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingJellyfish committed Jan 17, 2025
2 parents 96b575a + 025aa7d commit 3020642
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 3020642

Please sign in to comment.