Commit 0e6515e8 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Поправил округление для отрицательных чисел. Была проблема с merge-ячейками при scroll-е

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59854 954022d7-b5bf-4e40-9824-e11837661b57
parent 92ae9333
......@@ -79,7 +79,7 @@
function round(x) {
var y = x + (x >= 0 ? .5 : -.4);
var y = x + (x >= 0 ? .5 : -.5);
return y | y;
//return Math.round(x);
}
......
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