don't use a rounded rectangle when drawing the background of a widget

This commit is contained in:
hippoz 2022-06-15 18:24:54 +03:00
parent 6d87a782ca
commit ba29515720
No known key found for this signature in database
GPG key ID: 7C52899193467641

View file

@ -139,7 +139,7 @@ void Widget::handle_repaint_rect(RepaintRectEvent &event) {
} else { } else {
painter.source_rgb(m_style->background_norm()); painter.source_rgb(m_style->background_norm());
} }
painter.rounded_rectangle(event.box(), m_style->border_radius()); painter.rounded_rectangle(event.box(), 0.0);
cr->fill(); cr->fill();
} }