widgets tunes

This commit is contained in:
IlyaShurupov 2024-06-29 09:38:44 +03:00 committed by Ilya Shurupov
parent da6990ddc8
commit aa141405c6
4 changed files with 7 additions and 7 deletions

View file

@ -86,7 +86,7 @@ void Widget::checkVisibility(const Events& events, const RectF& parentArea) {
}
void Widget::checkFocus(const Events& events) {
const bool currentFocus = mVisibleArea.isInside(events.getPointer());
const bool currentFocus = mVisibleArea.isInside(events.getPointerPrev());
if (currentFocus != mInFocus) {
if (currentFocus) eventFocusEnter(events);