emacroh5lib 1.0.85 → 1.0.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,10 +36,6 @@ Licensed under MIT. https://github.com/101arrowz/fflate/blob/master/LICENSE
|
|
36
36
|
version 0.6.9
|
37
37
|
*/
|
38
38
|
|
39
|
-
/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */
|
40
|
-
|
41
|
-
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
42
|
-
|
43
39
|
/**
|
44
40
|
* vue-class-component v7.2.3
|
45
41
|
* (c) 2015-present Evan You
|
package/package.json
CHANGED
@@ -132,6 +132,10 @@
|
|
132
132
|
background: {
|
133
133
|
type: Number,
|
134
134
|
default: 0xb9d3ff,
|
135
|
+
},
|
136
|
+
transparency: {
|
137
|
+
type: Number,
|
138
|
+
default: 0.6,
|
135
139
|
}
|
136
140
|
},
|
137
141
|
computed: {
|
@@ -774,7 +778,7 @@
|
|
774
778
|
*/
|
775
779
|
this.gl.renderer = new THREE.WebGLRenderer({ alpha: true, antialias: true });
|
776
780
|
this.gl.renderer.setSize(width, height); //设置渲染区域尺寸
|
777
|
-
this.gl.renderer.setClearColor(this.background, this.
|
781
|
+
this.gl.renderer.setClearColor(this.background, this.transparency); //设置背景颜色
|
778
782
|
|
779
783
|
this.gl.WebGLoutput.innerHTML = ""
|
780
784
|
this.gl.renderer.domElement.style.width = "100%"
|