mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-08-03 12:57:20 +02:00
Merge pull request #19883 from gpanakkal/checkbutton-tostyle
Fix arguments in `toStyle` call in `CheckButton`
This commit is contained in:
commit
91bfe12f38
@ -1321,7 +1321,7 @@ class CheckButton extends XFAObject {
|
|||||||
[$toHTML](availableSpace) {
|
[$toHTML](availableSpace) {
|
||||||
// TODO: border, shape and mark.
|
// TODO: border, shape and mark.
|
||||||
|
|
||||||
const style = toStyle("margin");
|
const style = toStyle(this, "margin");
|
||||||
const size = measureToString(this.size);
|
const size = measureToString(this.size);
|
||||||
|
|
||||||
style.width = style.height = size;
|
style.width = style.height = size;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user