зеркало из https://github.com/mozilla/pjs.git
removing "return NS_OK" because it keeps it from doing the call to
nsFrame which calls HandleRelease. Without HandleRelease the EventStateManager mMouseGrabber never gets cleared and it keeps thinking events need to go to the view. b=48792 r=pollmann
This commit is contained in:
Родитель
8ef6993c1c
Коммит
cdc1e8c4fe
|
@ -304,7 +304,6 @@ nsImageControlFrame::HandleEvent(nsIPresContext* aPresContext,
|
|||
mLastClickPoint.y = NSTwipsToIntPixels(aEvent->point.y, t2p);
|
||||
|
||||
mGotFocus = PR_TRUE;
|
||||
return NS_OK;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -304,7 +304,6 @@ nsImageControlFrame::HandleEvent(nsIPresContext* aPresContext,
|
|||
mLastClickPoint.y = NSTwipsToIntPixels(aEvent->point.y, t2p);
|
||||
|
||||
mGotFocus = PR_TRUE;
|
||||
return NS_OK;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче