Skip to content

Commit 5a72048

Browse files
committed
Toolbutton: fix missing outline
1 parent 425d7cd commit 5a72048

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/style/adwaitastyle.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3761,9 +3761,10 @@ bool Style::drawPanelButtonToolPrimitive(const QStyleOption *option, QPainter *p
37613761
rect = visualRect(option, rect);
37623762
}
37633763

3764-
styleOptions.setColor(background);
37653764
styleOptions.setActive(windowActive);
3766-
3765+
styleOptions.setColor(background);
3766+
styleOptions.setOutlineColor(outline);
3767+
styleOptions.setRect(rect);
37673768
// render
37683769
Adwaita::Renderer::renderButtonFrame(styleOptions);
37693770
} else {

0 commit comments

Comments
 (0)