mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 02:45:07 +00:00
Yet another pass of style fixes.
This commit is contained in:
parent
89040cdc99
commit
ec1c487dcd
43 changed files with 183 additions and 185 deletions
|
@ -61,7 +61,7 @@ void Button::paintEvent(PaintEvent&)
|
|||
painter.drawLine({ 2, height() - 3 }, { width() - 2, height() - 3 }, shadowColor);
|
||||
}
|
||||
|
||||
if (!caption().isEmpty()) {
|
||||
if (!caption().is_empty()) {
|
||||
auto textRect = rect();
|
||||
if (m_beingPressed)
|
||||
textRect.moveBy(1, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue