I am "unfixing" something. This was something I introduced to prevent an M3 bug with a hack, it is not necessary anymore. reviewd by sfrasier. several people have verified this.

This commit is contained in:
mjudge%netscape.com 1999-03-16 00:08:38 +00:00
Родитель fe8255d894
Коммит a876641fd7
2 изменённых файлов: 8 добавлений и 8 удалений

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

@ -1511,7 +1511,7 @@ nsFrame::SetSelected(nsSelectionStruct *aSelStruct)
{
mSelected = aSelStruct->mType & nsSelectionStruct::SELON ;
nsRect rect;
/* nsRect rect;
GetRect(rect);
nsIFrame *frame = this;
nsIFrame *firstframe = nsnull;
@ -1524,9 +1524,9 @@ nsFrame::SetSelected(nsSelectionStruct *aSelStruct)
firstframe->GetRect(rect2);
rect.y-= rect.y-rect2.y;
}
//ForceDrawFrame(this);//invalidate does not work in all cases.
Invalidate(rect,PR_FALSE); //false is for not immediate
*/
ForceDrawFrame(this);//invalidate does not work in all cases.
//Invalidate(rect,PR_FALSE); //false is for not immediate
}
return NS_OK;
}

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

@ -1511,7 +1511,7 @@ nsFrame::SetSelected(nsSelectionStruct *aSelStruct)
{
mSelected = aSelStruct->mType & nsSelectionStruct::SELON ;
nsRect rect;
/* nsRect rect;
GetRect(rect);
nsIFrame *frame = this;
nsIFrame *firstframe = nsnull;
@ -1524,9 +1524,9 @@ nsFrame::SetSelected(nsSelectionStruct *aSelStruct)
firstframe->GetRect(rect2);
rect.y-= rect.y-rect2.y;
}
//ForceDrawFrame(this);//invalidate does not work in all cases.
Invalidate(rect,PR_FALSE); //false is for not immediate
*/
ForceDrawFrame(this);//invalidate does not work in all cases.
//Invalidate(rect,PR_FALSE); //false is for not immediate
}
return NS_OK;
}