fix bustage again. I am a complete and total moron.

This commit is contained in:
pinkerton%netscape.com 1999-04-16 18:14:22 +00:00
parent d8d4c56bd4
commit 0b3fe5c061

View File

@ -227,8 +227,8 @@ nsTriStateCheckboxFrame::HandleEvent(nsIPresContext& aPresContext,
case NS_MOUSE_EXIT:
// clear "depressed" state so css redraws us
if ( NS_SUCCEEDED(mContent->UnsetAttribute(kNameSpaceID_None, sDepressAtom, PR_TRUE)) )
Invalidate(nsRect(0, 0, mRect.width, mRect.height), PR_TRUE);
// if ( NS_SUCCEEDED(mContent->UnsetAttribute(kNameSpaceID_None, sDepressAtom, PR_TRUE)) )
// Invalidate(nsRect(0, 0, mRect.width, mRect.height), PR_TRUE);
mMouseDownOnCheckbox = PR_FALSE;
break;