Skip to content

Commit

Permalink
Update RotoPaint.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Jul 22, 2024
1 parent 08b1c1a commit 752b941
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Engine/RotoPaint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2767,8 +2767,10 @@ RotoPaint::onOverlayPenMotion(double time,
} else if (lastHoverState != eHoverStateNothing) {
newState = eHoverStateNothing;
}
redraw = _imp->ui->hoverState != newState;
_imp->ui->hoverState = newState;
if (_imp->ui->hoverState != newState) {
redraw = true;
_imp->ui->hoverState = newState;
}
}
const bool featherVisible = _imp->ui->isFeatherVisible();

Expand Down

0 comments on commit 752b941

Please sign in to comment.