Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9cb011 commit bc0f890Copy full SHA for bc0f890
src/plots/gl3d/layout/convert.js
@@ -9,7 +9,6 @@
9
10
'use strict';
11
12
-var Lib = require('../../../lib');
13
var convertHTMLToUnicode = require('../../../lib/html2unicode');
14
var str2RgbaArray = require('../../../lib/str2rgbarray');
15
@@ -62,9 +61,9 @@ function AxesOptions() {
62
61
[0.8, 0.8, 0.8, 0.5] ];
63
64
// some default values are stored for applying model transforms
65
- this._defaultTickPad = Lib.extendFlat([], this.tickPad);
66
- this._defaultLabelPad = Lib.extendFlat([], this.labelPad);
67
- this._defaultLineTickLength = Lib.extendFlat([], this.lineTickLength);
+ this._defaultTickPad = this.tickPad.slice();
+ this._defaultLabelPad = this.labelPad.slice();
+ this._defaultLineTickLength = this.lineTickLength.slice();
68
}
69
70
var proto = AxesOptions.prototype;
0 commit comments