Partial fix for 3289, reduce number of repaints/reflow when mousing over toolbar buttons. A:chofmann

This commit is contained in:
joki%netscape.com 1999-05-19 23:28:18 +00:00
Родитель 11c68f561c
Коммит 6d01924c3c
2 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -339,10 +339,6 @@ nsEventStateManager::GenerateMouseEnterExit(nsIPresContext& aPresContext, nsGUIE
} }
} }
if (nsEventStatus_eConsumeNoDefault != status) {
SetContentState(nsnull, NS_EVENT_STATE_HOVER);
}
//Now dispatch to the frame //Now dispatch to the frame
if (nsnull != mLastMouseOverFrame) { if (nsnull != mLastMouseOverFrame) {
//XXX Get the new frame //XXX Get the new frame

Просмотреть файл

@ -339,10 +339,6 @@ nsEventStateManager::GenerateMouseEnterExit(nsIPresContext& aPresContext, nsGUIE
} }
} }
if (nsEventStatus_eConsumeNoDefault != status) {
SetContentState(nsnull, NS_EVENT_STATE_HOVER);
}
//Now dispatch to the frame //Now dispatch to the frame
if (nsnull != mLastMouseOverFrame) { if (nsnull != mLastMouseOverFrame) {
//XXX Get the new frame //XXX Get the new frame