Commit 148aae94 authored by Ilya Kirillov's avatar Ilya Kirillov

Fix bug #32858 Fixed bug with hanging

parent 385af23a
......@@ -12626,7 +12626,7 @@ CTable.prototype =
TableGrid_min[Index] = SumGrid_min[Index] - SumGrid_min[Index - 1];
var CurrentW = SumGrid[SumGrid.length - 1];
while ( Grids_to_scale_count > 0 )
while ( Grids_to_scale_count > 0 && CurrentW > 0.001 )
{
// Пробуем ужать колонки таблицы
var Koef = TableW / CurrentW;
......
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