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

overlay retina full support

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58773 954022d7-b5bf-4e40-9824-e11837661b57
parent e57129ec
...@@ -506,6 +506,7 @@ function CEditorPage(api) ...@@ -506,6 +506,7 @@ function CEditorPage(api)
if (!this.bIsRetinaNoSupportAttack) if (!this.bIsRetinaNoSupportAttack)
{ {
this.bIsRetinaSupport = AscBrowser.isRetina; this.bIsRetinaSupport = AscBrowser.isRetina;
this.m_oOverlayApi.IsRetina = this.bIsRetinaSupport;
} }
else else
{ {
...@@ -524,7 +525,7 @@ function CEditorPage(api) ...@@ -524,7 +525,7 @@ function CEditorPage(api)
if (this.bIsRetinaSupport) if (this.bIsRetinaSupport)
{ {
if (htmlElem.id == "id_viewer" || if (htmlElem.id == "id_viewer" ||
htmlElem.id == "id_viewer_overlay" || (htmlElem.id == "id_viewer_overlay" && this.m_oOverlayApi.IsRetina) ||
htmlElem.id == "id_hor_ruler" || htmlElem.id == "id_hor_ruler" ||
htmlElem.id == "id_vert_ruler" || htmlElem.id == "id_vert_ruler" ||
htmlElem.id == "id_buttonTabs") htmlElem.id == "id_buttonTabs")
......
...@@ -460,6 +460,7 @@ function CEditorPage(api) ...@@ -460,6 +460,7 @@ function CEditorPage(api)
if (!this.bIsRetinaNoSupportAttack) if (!this.bIsRetinaNoSupportAttack)
{ {
this.bIsRetinaSupport = AscBrowser.isRetina; this.bIsRetinaSupport = AscBrowser.isRetina;
this.m_oOverlayApi.IsRetina = this.bIsRetinaSupport;
} }
else else
{ {
...@@ -3424,7 +3425,7 @@ function CEditorPage(api) ...@@ -3424,7 +3425,7 @@ function CEditorPage(api)
if (this.bIsRetinaSupport) if (this.bIsRetinaSupport)
{ {
if (htmlElem.id == "id_viewer" || if (htmlElem.id == "id_viewer" ||
htmlElem.id == "id_viewer_overlay" || (htmlElem.id == "id_viewer_overlay" && this.m_oOverlayApi.IsRetina) ||
htmlElem.id == "id_hor_ruler" || htmlElem.id == "id_hor_ruler" ||
htmlElem.id == "id_vert_ruler" || htmlElem.id == "id_vert_ruler" ||
htmlElem.id == "id_buttonTabs") htmlElem.id == "id_buttonTabs")
......
...@@ -40,7 +40,7 @@ function COverlay() ...@@ -40,7 +40,7 @@ function COverlay()
this.DashLineColor = "#000000"; this.DashLineColor = "#000000";
this.ClearAll = false; this.ClearAll = false;
this.IsRetina = AscBrowser.isRetina; this.IsRetina = false;
} }
COverlay.prototype = COverlay.prototype =
......
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