@netless/slide 1.4.4 → 1.4.5

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.
package/README.md CHANGED
@@ -4,10 +4,16 @@
4
4
 
5
5
  ## changelog
6
6
 
7
- ### 1.4.3
7
+ ### 1.4.5 (2024-06-13)
8
+ * 修复图形内箭头错位问题
9
+
10
+ ### 1.4.4 (2024-06-06)
8
11
  * 修复因 debounce 异常导致的 canvas 画布变大撑开画面问题
9
12
  * 修复因全局缓存导致的特效图形消失问题
10
13
 
14
+ ### 1.4.3 (2024-06-06)
15
+ * 不稳定版本, 已弃用
16
+
11
17
  ### 1.4.2
12
18
  * 修复亮度/对比度特效将图片变纯白问题
13
19
  * 修复发光特效出现整个图形变色问题
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
13
13
  function verb(n) { return function (v) { return step([n, v]); }; }
14
14
  function step(op) {
15
15
  if (f) throw new TypeError("Generator is already executing.");
16
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
16
+ while (_) try {
17
17
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
18
18
  if (y = 0, t) op = [op[0] & 2, t.value];
19
19
  switch (op[0]) {
@@ -41,7 +41,7 @@ var PlayerConfig = /** @class */ (function () {
41
41
  Object.defineProperty(PlayerConfig.prototype, "size", {
42
42
  get: function () {
43
43
  var _a, _b;
44
- return "".concat((_a = this.player.view) === null || _a === void 0 ? void 0 : _a.width, "*").concat((_b = this.player.view) === null || _b === void 0 ? void 0 : _b.height);
44
+ return ((_a = this.player.view) === null || _a === void 0 ? void 0 : _a.width) + "*" + ((_b = this.player.view) === null || _b === void 0 ? void 0 : _b.height);
45
45
  },
46
46
  set: function (_) { },
47
47
  enumerable: false,
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
13
13
  function verb(n) { return function (v) { return step([n, v]); }; }
14
14
  function step(op) {
15
15
  if (f) throw new TypeError("Generator is already executing.");
16
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
16
+ while (_) try {
17
17
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
18
18
  if (y = 0, t) op = [op[0] & 2, t.value];
19
19
  switch (op[0]) {
@@ -95,7 +95,7 @@ var RenderingTaskManager = /** @class */ (function () {
95
95
  _this.tasks.splice(selfIndex, 1);
96
96
  _this.replaceIdleTask();
97
97
  }
98
- _this.eventHub.emit("task-end-".concat(task.id));
98
+ _this.eventHub.emit("task-end-" + task.id);
99
99
  });
100
100
  this.eventHub.on("task-error", function (_a) {
101
101
  var task = _a.task;
package/lib/Slide.d.ts CHANGED
@@ -666,7 +666,7 @@ export declare class Slide extends Slide_base {
666
666
  */
667
667
  updateGlobalVolume(v: number): void;
668
668
  /**
669
- * Get the global volume of this Slide instance.
669
+ * Get the global volume of this Slide instance..
670
670
  */
671
671
  getGlobalVolume(): number;
672
672
  /**