@antv/l7-renderer 2.10.6 → 2.10.9

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.
@@ -8,7 +8,7 @@ export default class ReglTexture2D implements ITexture2D {
8
8
  private texture;
9
9
  private width;
10
10
  private height;
11
- private isDistroy;
11
+ private isDestroy;
12
12
  constructor(reGl: regl.Regl, options: ITexture2DInitializationOptions);
13
13
  get(): regl.Texture2D;
14
14
  update(props?: regl.Texture2DOptions): void;
@@ -12,7 +12,7 @@ var ReglTexture2D = /*#__PURE__*/function () {
12
12
  function ReglTexture2D(reGl, options) {
13
13
  _classCallCheck(this, ReglTexture2D);
14
14
 
15
- _defineProperty(this, "isDistroy", false);
15
+ _defineProperty(this, "isDestroy", false);
16
16
 
17
17
  var data = options.data,
18
18
  _options$type = options.type,
@@ -114,13 +114,13 @@ var ReglTexture2D = /*#__PURE__*/function () {
114
114
  }, {
115
115
  key: "destroy",
116
116
  value: function destroy() {
117
- if (!this.isDistroy) {
117
+ if (!this.isDestroy) {
118
118
  var _this$texture;
119
119
 
120
120
  (_this$texture = this.texture) === null || _this$texture === void 0 ? void 0 : _this$texture.destroy();
121
121
  }
122
122
 
123
- this.isDistroy = true;
123
+ this.isDestroy = true;
124
124
  }
125
125
  }]);
126
126
 
@@ -26,7 +26,7 @@ var import_l7_core = require("@antv/l7-core");
26
26
  var import_constants = require("./constants");
27
27
  var ReglTexture2D = class {
28
28
  constructor(reGl, options) {
29
- this.isDistroy = false;
29
+ this.isDestroy = false;
30
30
  const {
31
31
  data,
32
32
  type = import_l7_core.gl.UNSIGNED_BYTE,
@@ -93,10 +93,10 @@ var ReglTexture2D = class {
93
93
  }
94
94
  destroy() {
95
95
  var _a;
96
- if (!this.isDistroy) {
96
+ if (!this.isDestroy) {
97
97
  (_a = this.texture) == null ? void 0 : _a.destroy();
98
98
  }
99
- this.isDistroy = true;
99
+ this.isDestroy = true;
100
100
  }
101
101
  };
102
102
  // Annotate the CommonJS export names for ESM import in node:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-renderer",
3
- "version": "2.10.6",
3
+ "version": "2.10.9",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -25,19 +25,19 @@
25
25
  "author": "xiaoiver",
26
26
  "license": "ISC",
27
27
  "devDependencies": {
28
- "@antv/l7-test-utils": "2.10.6",
28
+ "@antv/l7-test-utils": "2.10.9",
29
29
  "gl": "^5.0.3"
30
30
  },
31
31
  "dependencies": {
32
- "@antv/l7-core": "2.10.6",
33
- "@antv/l7-utils": "2.10.6",
32
+ "@antv/l7-core": "2.10.9",
33
+ "@antv/l7-utils": "2.10.9",
34
34
  "@babel/runtime": "^7.7.7",
35
35
  "inversify": "^5.0.1",
36
36
  "l7regl": "^0.0.20",
37
37
  "lodash": "^4.17.15",
38
38
  "reflect-metadata": "^0.1.13"
39
39
  },
40
- "gitHead": "7fc81ea48b86d6aeb0f5351a8c5eb3017f473ccc",
40
+ "gitHead": "9fe64ef00875f4d96771542c16842468e61a8ef4",
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  }