don't subtract the slider margins twice

This commit is contained in:
Uwe Rathmann 2024-11-13 14:11:11 +01:00
parent d84ab6e387
commit 7f389ef6cc

View File

@ -337,8 +337,6 @@ QRectF QskSliderSkinlet::handleRect(
QRectF handleRect( 0, 0, handleSize.width(), handleSize.height() );
handleRect.moveCenter( center );
handleRect = handleRect.marginsRemoved( slider->marginHint( Q::Handle ) );
return handleRect;
}