Resizing from the middle of the document was resetting the scrollbar to the

top and then setting it back to the remember position.  Fixed the unnecessary
up and down jumping of the scrollbar.
This commit is contained in:
nisheeth%netscape.com 1998-10-15 06:16:16 +00:00
Родитель bb8022c4f8
Коммит 409b28fe50
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -205,7 +205,7 @@ void LO_RelayoutOnResize(MWContext *context, int32 width, int32 height, int32 le
FE_GetDocPosition ( context, FE_VIEW, &docX, &docY );
/* shrink the layout document in case we get smaller */
LO_SetDocumentDimensions(context, 0, 0);
/* LO_SetDocumentDimensions(context, 0, 0); */
if (lo_rl_InitRelayoutState(context, relay_state, width, height, leftMargin, topMargin) != NULL)
{