[DE] Set limit 300 pt for font size

This commit is contained in:
Julia Radzhabova 2020-11-27 19:35:04 +03:00
parent 49f1896854
commit 19c04da1f8

View file

@ -1321,8 +1321,8 @@ define([
} }
} else { } else {
value = Common.Utils.String.parseFloat(record.value); value = Common.Utils.String.parseFloat(record.value);
value = value > 100 value = value > 300
? 100 ? 300
: value < 1 : value < 1
? 1 ? 1
: Math.floor((value+0.4)*2)/2; : Math.floor((value+0.4)*2)/2;