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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47921 954022d7-b5bf-4e40-9824-e11837661b57
parent c1c309a1
......@@ -2849,10 +2849,10 @@ function CDemonstrationManager(htmlpage)
this.OnPaintSlide = function(is_clear_overlay)
{
if (is_clear_overlay)
if (is_clear_overlay && oThis.Overlay)
{
var _ctx2 = oThis.Overlay.getContext('2d');
_ctx2.clearRect(oThis.Transition.Rect.x, oThis.Transition.Rect.y, oThis.Transition.Rect.w, oThis.Transition.Rect.r);
_ctx2.clearRect(oThis.Transition.Rect.x, oThis.Transition.Rect.y, oThis.Transition.Rect.w, oThis.Transition.Rect.h);
}
oThis.Transition.CalculateRectDemonstration();
......
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