Commit 20b381f4 authored by Oleg.Korshul's avatar Oleg.Korshul

при увеличении/уменьшении зума не делать больше/меньше. (переход из "по ширине" на zoomIn)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65256 954022d7-b5bf-4e40-9824-e11837661b57
parent 9d33dc9d
......@@ -842,6 +842,9 @@ function CEditorPage(api)
break;
}
}
if (oThis.m_nZoomValue <= _Zoom)
return;
oThis.m_nZoomValue = _Zoom;
oThis.zoom_Fire(0);
......@@ -864,6 +867,9 @@ function CEditorPage(api)
break;
}
}
if (oThis.m_nZoomValue >= _Zoom)
return;
oThis.m_nZoomValue = _Zoom;
oThis.zoom_Fire(0);
......
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