[DE] Set limit for font size for watermark
This commit is contained in:
parent
19c04da1f8
commit
9a4bcde92b
|
@ -638,7 +638,7 @@ define(['text!documenteditor/main/app/template/WatermarkSettings.template',
|
||||||
|
|
||||||
val = props.get_TextPr() || new Asc.CTextProp();
|
val = props.get_TextPr() || new Asc.CTextProp();
|
||||||
if (val) {
|
if (val) {
|
||||||
val.put_FontSize(this.cmbFontSize.getValue());
|
val.put_FontSize(Math.min(this.cmbFontSize.getValue(), 1638));
|
||||||
var font = new AscCommon.asc_CTextFontFamily();
|
var font = new AscCommon.asc_CTextFontFamily();
|
||||||
font.put_Name(this.fontName);
|
font.put_Name(this.fontName);
|
||||||
font.put_Index(-1);
|
font.put_Index(-1);
|
||||||
|
|
Loading…
Reference in a new issue