diff --git a/BlocksScreen/lib/utils/blocks_slider.py b/BlocksScreen/lib/utils/blocks_slider.py index f122589a..5a3d5c4e 100644 --- a/BlocksScreen/lib/utils/blocks_slider.py +++ b/BlocksScreen/lib/utils/blocks_slider.py @@ -54,7 +54,9 @@ def hit_test(self, pos: QtCore.QPointF) -> bool: bool: If the handle contains the specified position """ _handle_path = QtGui.QPainterPath() - _handle_path.addRoundedRect(self._handle_rect.toRectF(), 6, 6) + self._handle_rect.setSize(QtCore.QSize(60, 55)) + self._handle_rect.adjusted(-20, 0, 0, 0) + _handle_path.addRoundedRect(self._handle_rect.toRectF(), 5, 5) return _handle_path.contains(pos) def _set_slider_pos(self, pos: QtCore.QPointF):