Improve SlidePickerBox display effect
This commit is contained in:
@@ -79,8 +79,8 @@ void SlidePickerBox::mouseMoveEvent(QMouseEvent *ev) {
|
||||
int ny = item->geometry().top() + offset;
|
||||
item->move(item->geometry().left(),ny);
|
||||
int centerY = item->geometry().center().y();
|
||||
if (centerY <= SELECTED_AREA_BOTTOM
|
||||
&& centerY > SELECTED_AREA_TOP)
|
||||
if (centerY <= SELECTED_AREA_BOTTOM+5
|
||||
&& centerY > SELECTED_AREA_TOP-5)
|
||||
{
|
||||
item->setStyleSheet("color:white");
|
||||
mSelectedLbl = item;
|
||||
|
||||
Reference in New Issue
Block a user