Skip to content

Commit

Permalink
Run prop snapToGrid should be false
Browse files Browse the repository at this point in the history
  • Loading branch information
morlay committed Dec 6, 2023
1 parent 3eb9853 commit 579593a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file/paragraph/run/properties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 579593a

Please sign in to comment.