зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
bb8022c4f8
Коммит
409b28fe50
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче