Skip to content

Commit 752b941

Browse files
committed
Update RotoPaint.cpp
1 parent 08b1c1a commit 752b941

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Engine/RotoPaint.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2767,8 +2767,10 @@ RotoPaint::onOverlayPenMotion(double time,
27672767
} else if (lastHoverState != eHoverStateNothing) {
27682768
newState = eHoverStateNothing;
27692769
}
2770-
redraw = _imp->ui->hoverState != newState;
2771-
_imp->ui->hoverState = newState;
2770+
if (_imp->ui->hoverState != newState) {
2771+
redraw = true;
2772+
_imp->ui->hoverState = newState;
2773+
}
27722774
}
27732775
const bool featherVisible = _imp->ui->isFeatherVisible();
27742776

0 commit comments

Comments
 (0)