Skip to content

Commit

Permalink
Fix bug 66737
Browse files Browse the repository at this point in the history
  • Loading branch information
K0R0L committed Nov 25, 2024
1 parent e1445b4 commit eadbb0a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion common/Scrolls/mobileTouchManagerBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@
{
return false;//(null != this.DrawingDocument.m_oDocumentRenderer);
};
CMobileDelegateSimple.prototype.IsLockedZoom = function()
CMobileDelegateEditor.prototype.IsLockedZoom = function()
{
return this.HtmlPage.ReaderModeCurrent === 1;
};
Expand Down
10 changes: 7 additions & 3 deletions word/Drawing/HtmlPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -2297,7 +2297,7 @@ function CEditorPage(api)
// пошлем сначала моусдаун
//oWordControl.m_oLogicDocument.OnMouseDown(global_mouseEvent, pos.X, pos.Y, pos.Page);
}
if(!oThis.checkFinishEyedropper())
if (!oThis.checkFinishEyedropper())
{
if (bIsSendedToEditor)
oWordControl.m_oLogicDocument.OnMouseUp(global_mouseEvent, pos.X, pos.Y, pos.Page);
Expand All @@ -2307,8 +2307,12 @@ function CEditorPage(api)
oWordControl.MouseDownDocumentCounter = 0;

oWordControl.m_bIsMouseUpSend = false;
oWordControl.m_oLogicDocument.Document_UpdateInterfaceState();
oWordControl.m_oLogicDocument.Document_UpdateRulersState();

if (bIsSendedToEditor)
{
oWordControl.m_oLogicDocument.Document_UpdateInterfaceState();
oWordControl.m_oLogicDocument.Document_UpdateRulersState();
}

oWordControl.EndUpdateOverlay();
};
Expand Down

0 comments on commit eadbb0a

Please sign in to comment.