fix box default option bug

This commit is contained in:
louisnw
2024-04-28 23:33:14 +01:00
parent 8bf4469c17
commit 470fc57971

View File

@ -31,8 +31,8 @@ export class Box extends TwoPointDrawing {
) {
super(p1, p2, options);
this._options = {
...this._options,
...defaultBoxOptions,
...this._options,
}
this._paneViews = [new BoxPaneView(this)];
}