JS - Fix setting a color on an annotation

- strokeColor corresponds to borderColor;
 - support fillColor and textColor;
 - support colors on the different annotations;
 - fix typo in aforms (+test).
This commit is contained in:
Calixte Denizet 2021-02-20 15:23:54 +01:00
parent 0fa9976268
commit 4a5f1d1b7a
7 changed files with 125 additions and 8 deletions

View file

@ -529,7 +529,7 @@ class AForm {
event.rc = false;
return;
}
event.value += cMask.subString(value.length);
event.value += cMask.substring(value.length);
return;
}