Commit 40e4854a authored by Oleg Korshul's avatar Oleg Korshul

Fix Bug 33952

parent 05335f97
...@@ -2217,6 +2217,10 @@ background-repeat: no-repeat;\ ...@@ -2217,6 +2217,10 @@ background-repeat: no-repeat;\
{ {
History.Create_NewPoint(AscDFH.historydescription_Presentation_ParagraphAdd); History.Create_NewPoint(AscDFH.historydescription_Presentation_ParagraphAdd);
this.WordControl.m_oLogicDocument.Paragraph_Add(new AscCommonWord.ParaTextPr({FontSize : Math.min(size, 100)})); this.WordControl.m_oLogicDocument.Paragraph_Add(new AscCommonWord.ParaTextPr({FontSize : Math.min(size, 100)}));
// для мобильной версии это важно
if (this.isMobileVersion)
this.UpdateInterfaceState();
} }
}; };
asc_docs_api.prototype.put_TextPrBold = function(value) asc_docs_api.prototype.put_TextPrBold = function(value)
......
...@@ -2430,6 +2430,10 @@ background-repeat: no-repeat;\ ...@@ -2430,6 +2430,10 @@ background-repeat: no-repeat;\
{ {
this.WordControl.m_oLogicDocument.Create_NewHistoryPoint(AscDFH.historydescription_Document_SetTextFontSize); this.WordControl.m_oLogicDocument.Create_NewHistoryPoint(AscDFH.historydescription_Document_SetTextFontSize);
this.WordControl.m_oLogicDocument.Paragraph_Add(new AscCommonWord.ParaTextPr({FontSize : Math.min(size, 100)})); this.WordControl.m_oLogicDocument.Paragraph_Add(new AscCommonWord.ParaTextPr({FontSize : Math.min(size, 100)}));
// для мобильной версии это важно
if (this.isMobileVersion)
this.UpdateInterfaceState();
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment