Skip to content

Commit 91bfe12

Browse files
authored
Merge pull request #19883 from gpanakkal/checkbutton-tostyle
Fix arguments in `toStyle` call in `CheckButton`
2 parents fc92e40 + 7bba3bd commit 91bfe12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/xfa/template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ class CheckButton extends XFAObject {
13211321
[$toHTML](availableSpace) {
13221322
// TODO: border, shape and mark.
13231323

1324-
const style = toStyle("margin");
1324+
const style = toStyle(this, "margin");
13251325
const size = measureToString(this.size);
13261326

13271327
style.width = style.height = size;

0 commit comments

Comments
 (0)