push buttons: Fix ripple effect
This way it looks like the original
This commit is contained in:
parent
1d57d87332
commit
7f24cbb95b
@ -139,7 +139,7 @@ QRectF QskPushButtonSkinlet::rippleRect(
|
|||||||
|
|
||||||
const auto panelRect = subControlRect( button, contentsRect, Q::Panel );
|
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 );
|
rect.moveCenter( pos );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user