fix box options not working

This commit is contained in:
louisnw
2024-05-06 12:26:21 +01:00
parent 2d1ff5ce46
commit 299ad6a4ae
3 changed files with 3 additions and 2 deletions

View File

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