lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit 43188c97 authored by Oleg Korshul's avatar Oleg Korshul

fix bug 35512

parent 965b86b9
...@@ -2083,11 +2083,12 @@ function CDrawingDocument() ...@@ -2083,11 +2083,12 @@ function CDrawingDocument()
_hh /= AscCommon.AscBrowser.retinaPixelRatio; _hh /= AscCommon.AscBrowser.retinaPixelRatio;
var boxY = 0; var boxY = 0;
var boxB = _hh - targetSize; var targetSizeAscent = (this.m_dTargetAscent * g_dKoef_mm_to_pix) >> 0;
var boxB = _hh - (targetSize - targetSizeAscent);
if (boxB < 0) if (boxB < 0)
boxB = _hh; boxB = _hh;
var targetSizeAscent = 2 + (this.m_dTargetAscent * g_dKoef_mm_to_pix) >> 0;
yPos += targetSizeAscent; yPos += targetSizeAscent;
var nValueScrollVer = 0; var nValueScrollVer = 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