widgets tunes
This commit is contained in:
parent
bce1dbacc2
commit
ae4f7eea33
4 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue