From 752b94151364f5fc79ef60301d05ea309bd073ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Devernay?= Date: Mon, 22 Jul 2024 16:02:43 +0200 Subject: [PATCH] Update RotoPaint.cpp --- Engine/RotoPaint.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Engine/RotoPaint.cpp b/Engine/RotoPaint.cpp index 0d4a6c2fb..e79add4fb 100644 --- a/Engine/RotoPaint.cpp +++ b/Engine/RotoPaint.cpp @@ -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();