Commit af1ddf45 authored by Jan Blackquill's avatar Jan Blackquill 🌈 Committed by Nate Graham
Browse files

kstyle: don't show states for frames with bordersSides

Showing focus/hover/etc. often looks strange/inconsistent without frames
on all sides, so if we're drawing on frames other than all sides, don't
show those states. It's also more consistent with the style we're trying
to emulate, which doesn't show focus/hover on separator lines between
parent 03b29c9f
Pipeline #150228 passed with stage
in 2 minutes and 30 seconds
......@@ -3280,7 +3280,7 @@ namespace Breeze
const auto background( palette.base().color() );
const auto outline( _helper->frameOutlineColor( palette, mouseOver, hasFocus, opacity, mode ) );
const auto outline( _helper->frameOutlineColor( palette ) );
_helper->renderFrameWithSides( painter, rect, background, widget->property( PropertyNames::bordersSides ).value<Qt::Edges>(), outline );
return true;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment