Bug 13058: Keep the cache in sync with the widget state for native selects.

This commit is contained in:
pollmann%netscape.com 1999-09-14 19:39:23 +00:00
Родитель cc1006548e
Коммит 7c47c39d1e
1 изменённых файлов: 1 добавлений и 5 удалений

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

@ -298,11 +298,7 @@ NS_METHOD nsNativeFormControlFrame::HandleEvent(nsIPresContext& aPresContext,
break;
case NS_MOUSE_LEFT_BUTTON_DOWN:
if (NS_FORM_INPUT_IMAGE == type) {
mLastMouseState = eMouseDown;
} else {
mLastMouseState = (eMouseEnter == mLastMouseState) ? eMouseDown : eMouseNone;
}
mLastMouseState = eMouseDown;
break;
case NS_MOUSE_LEFT_BUTTON_UP: