push buttons: Fix ripple effect

This way it looks like the original
This commit is contained in:
Peter Hartmann 2023-02-05 13:20:11 +01:00 committed by uwerat
parent 1d57d87332
commit 7f24cbb95b

View File

@ -139,7 +139,7 @@ QRectF QskPushButtonSkinlet::rippleRect(
const auto panelRect = subControlRect( button, contentsRect, Q::Panel );
rect.setSize( 2.0 * panelRect.size() * ratio );
rect.setSize( { 2.0 * panelRect.width() * ratio, panelRect.height() * 2.0 } );
rect.moveCenter( pos );
}