Bug 163562. Home/end keys should not affect horizontal scrolling. Patch by dmitry@kirsanov.com. r=aaronleventhal, sr=roc

git-svn-id: svn://10.0.0.236/trunk@166060 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
aaronleventhal%moonset.net
2004-12-01 16:21:20 +00:00
parent 6c4205b24f
commit e4663eedaa

View File

@@ -468,7 +468,7 @@ NS_IMETHODIMP nsScrollPortView::ScrollByWhole(PRBool aTop)
newPos = scrolledSize.height;
}
ScrollTo(0, newPos, 0);
ScrollTo(mOffsetX, newPos, 0);
return NS_OK;
}