fix box default option bug
This commit is contained in:
@ -31,8 +31,8 @@ export class Box extends TwoPointDrawing {
|
|||||||
) {
|
) {
|
||||||
super(p1, p2, options);
|
super(p1, p2, options);
|
||||||
this._options = {
|
this._options = {
|
||||||
...this._options,
|
|
||||||
...defaultBoxOptions,
|
...defaultBoxOptions,
|
||||||
|
...this._options,
|
||||||
}
|
}
|
||||||
this._paneViews = [new BoxPaneView(this)];
|
this._paneViews = [new BoxPaneView(this)];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user