Commit 2184a263 authored by Oleg Korshul's avatar Oleg Korshul

slides mobile: horizontal scroll

parent 69913c37
...@@ -2577,16 +2577,18 @@ function CEditorPage(api) ...@@ -2577,16 +2577,18 @@ function CEditorPage(api)
if (this.m_bIsHorScrollVisible) if (this.m_bIsHorScrollVisible)
{ {
this.m_oScrollHor.HtmlElement.style.display = 'block';
this.m_oPanelRight.Bounds.B = this.ScrollWidthPx * g_dKoef_pix_to_mm;
this.m_oMainView.Bounds.B = this.ScrollWidthPx * g_dKoef_pix_to_mm;
if (this.m_oApi.isMobileVersion) if (this.m_oApi.isMobileVersion)
{ {
this.m_oPanelRight.Bounds.B = 0; this.m_oPanelRight.Bounds.B = 0;
this.m_oMainView.Bounds.B = 0; this.m_oMainView.Bounds.B = 0;
} }
else
{
this.m_oScrollHor.HtmlElement.style.display = 'block';
this.m_oPanelRight.Bounds.B = this.ScrollWidthPx * g_dKoef_pix_to_mm;
this.m_oMainView.Bounds.B = this.ScrollWidthPx * g_dKoef_pix_to_mm;
}
} }
else else
{ {
......
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