#53072 IME candidate window position problem

r=sfraser a=ftang
Offset within view is missing in one of the code path. Add it there.
This commit is contained in:
shanjian%netscape.com 2000-09-19 21:55:59 +00:00
Родитель 00e5bd9c37
Коммит d7ffe6cea2
2 изменённых файлов: 4 добавлений и 2 удалений

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

@ -604,7 +604,8 @@ void nsCaret::GetViewForRendering(nsIFrame *caretFrame, EViewCoordinates coordTy
{
// window-relative coordinates (walk right to the top of the view hierarchy)
// we don't do anything with clipping here
viewOffset = withinViewOffset;
do {
theView->GetPosition(&x, &y);

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

@ -604,7 +604,8 @@ void nsCaret::GetViewForRendering(nsIFrame *caretFrame, EViewCoordinates coordTy
{
// window-relative coordinates (walk right to the top of the view hierarchy)
// we don't do anything with clipping here
viewOffset = withinViewOffset;
do {
theView->GetPosition(&x, &y);