Commit cdcd8aed authored by Oleg.Korshul's avatar Oleg.Korshul

перерисовка линеек при двигании границ ячеек

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60215 954022d7-b5bf-4e40-9824-e11837661b57
parent 25cb2b51
...@@ -3083,7 +3083,7 @@ function CEditorPage(api) ...@@ -3083,7 +3083,7 @@ function CEditorPage(api)
this.UpdateHorRulerBack = function() this.UpdateHorRulerBack = function()
{ {
var drDoc = this.m_oDrawingDocument; var drDoc = this.m_oDrawingDocument;
if (0 <= drDoc.m_lCurrentPage && drDoc.m_lCurrentPage < drDoc.m_lPagesCount) if (0 <= drDoc.SlideCurrent && drDoc.SlideCurrent < drDoc.SlidesCount)
{ {
this.CreateBackgroundHorRuler(); this.CreateBackgroundHorRuler();
} }
...@@ -3092,7 +3092,7 @@ function CEditorPage(api) ...@@ -3092,7 +3092,7 @@ function CEditorPage(api)
this.UpdateVerRulerBack = function() this.UpdateVerRulerBack = function()
{ {
var drDoc = this.m_oDrawingDocument; var drDoc = this.m_oDrawingDocument;
if (0 <= drDoc.m_lCurrentPage && drDoc.m_lCurrentPage < drDoc.m_lPagesCount) if (0 <= drDoc.SlideCurrent && drDoc.SlideCurrent < drDoc.SlidesCount)
{ {
this.CreateBackgroundVerRuler(); this.CreateBackgroundVerRuler();
} }
......
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