Commit d22841fb authored by 李维's avatar 李维

Bug fix

parent d4e36e95
...@@ -228,7 +228,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges { ...@@ -228,7 +228,7 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
// item.text = "" // item.text = ""
item.type = "Image" item.type = "Image"
} else { } else {
item.init(`assets/play/hotZooCard/bg_70_40_${this.hotZoneItemArr.length}.png`, null, "Image", () => { item.init(`assets/play/hotZooCard/bg_70_40_${this.hotZoneItemArr.length+1}.png`, null, "Image", () => {
// item.image_url = "assets/play/bg_70_40.png" // item.image_url = "assets/play/bg_70_40.png"
item.x = this.canvasWidth / 2 - 35; item.x = this.canvasWidth / 2 - 35;
item.y = this.canvasHeight / 2 - 20; item.y = this.canvasHeight / 2 - 20;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment