Commit a77e6e2d authored by Oleg Korshul's avatar Oleg Korshul Committed by Alexander.Trofimov

правка багов

parent f9c4908f
......@@ -3352,6 +3352,9 @@ function CEditorPage(api)
this.m_oDrawingDocument.IsEmptyPresentation = true;
}
if (this.m_oDrawingDocument.TransitionSlide.IsPlaying())
this.m_oDrawingDocument.TransitionSlide.End(true);
if (lPageNum != -1 && (lPageNum < 0 || lPageNum >= drDoc.SlidesCount))
return;
......
......@@ -249,8 +249,19 @@ function CTransitionAnimation(htmlpage)
}
}
this.StopIfPlaying = function()
{
if (this.IsPlaying())
{
__cancelFrame(this.TimerId);
this.TimerId = null;
}
}
this.Start = function(isButtonPreview)
{
this.StopIfPlaying();
if (true == isButtonPreview)
{
this.CalculateRect();
......
......@@ -2615,7 +2615,7 @@ CGraphics.prototype =
DrawPresentationComment : function(type, x, y, w, h)
{
if (this.IsThumbnail)
if (this.IsThumbnail || this.IsDemonstrationMode)
return;
if (this.m_bIntegerGrid)
......
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