Merge pull request #2439 from morlay/master

Run prop snapToGrid should be false
This commit is contained in:
Dolan
2023-12-06 12:09:40 +00:00
committed by GitHub

View File

@ -261,7 +261,7 @@ export class RunProperties extends IgnoreIfEmptyXmlComponent {
this.push(new BorderElement("w:bdr", options.border));
}
if (options.snapToGrid) {
if (options.snapToGrid !== undefined) {
this.push(new OnOffElement("w:snapToGrid", options.snapToGrid));
}