Add missing this arg to toStyle in CheckButton.prototype.[$toHTML]

This commit is contained in:
Gautam Panakkal 2025-04-03 20:27:40 -07:00 committed by gpanakkal
parent 16c876569f
commit 7bba3bd4ad

View File

@ -1321,7 +1321,7 @@ class CheckButton extends XFAObject {
[$toHTML](availableSpace) {
// TODO: border, shape and mark.
const style = toStyle("margin");
const style = toStyle(this, "margin");
const size = measureToString(this.size);
style.width = style.height = size;