widgets tunes

This commit is contained in:
IlyaShurupov 2024-06-29 09:38:44 +03:00
parent bce1dbacc2
commit ae4f7eea33
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);