Commit 75857650 authored by 李维's avatar 李维

Bug fix

parent 1512d251
......@@ -228,8 +228,8 @@ export class CustomHotZoneComponent implements OnInit, OnDestroy, OnChanges {
// item.text = ""
item.type = "Image"
} else {
item.init("assets/play/bg_70_40.png", null, "Image", () => {
item.image_url = "assets/play/bg_70_40.png"
item.init(`assets/play/bg_70_40_${this.hotZoneItemArr.length}.png`, null, "Image", () => {
// item.image_url = "assets/play/bg_70_40.png"
console.log(this.canvasWidth, this.canvasHeight)
item.x = this.canvasWidth / 2 - 35;
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