Commit 31260876 authored by Alexander.Trofimov's avatar Alexander.Trofimov

showComment для Retina

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66544 954022d7-b5bf-4e40-9824-e11837661b57
parent a51a173a
...@@ -2503,8 +2503,6 @@ var editor; ...@@ -2503,8 +2503,6 @@ var editor;
worksheet.objectRender.showDrawingObjects(false, new GraphicOption(worksheet, c_oAscGraphicOption.ScrollVertical, drawing_area.frozenPlaces[i].range, {offsetX: 0, offsetY: 0})); worksheet.objectRender.showDrawingObjects(false, new GraphicOption(worksheet, c_oAscGraphicOption.ScrollVertical, drawing_area.frozenPlaces[i].range, {offsetX: 0, offsetY: 0}));
} }
} }
} }
}; };
......
...@@ -970,6 +970,14 @@ CCellCommentator.prototype.getCommentsCoords = function(comments) { ...@@ -970,6 +970,14 @@ CCellCommentator.prototype.getCommentsCoords = function(comments) {
coords.dHeightPX += this.commentPadding * 2; coords.dHeightPX += this.commentPadding * 2;
coords.dHeightMM = this.pxToMm(coords.dHeightPX); coords.dHeightMM = this.pxToMm(coords.dHeightPX);
if (AscBrowser.isRetina) {
coords.dWidthPX >>= 1;
coords.dHeightPX >>= 1;
coords.dLeftPX >>= 1;
coords.dTopPX >>= 1;
coords.dReverseLeftPX >>= 1;
}
} }
return coords; return coords;
......
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