Commit 96334524 authored by 李维's avatar 李维

Bug fix

parent 92beb98b
...@@ -794,10 +794,10 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -794,10 +794,10 @@ export class PlayComponent implements OnInit, OnDestroy {
mask.ref.y = startY mask.ref.y = startY
line.mask = mask; line.mask = mask;
let target = this.g_cartoon.createCartoonElementShapeRect(`lebel-answer-${index}-target-${uuidv4()}`, this.g_canvasWidth - 200 * this.g_mapScale, 64 * this.g_mapScale, "#FFFF00") // FFFFFF let target = this.g_cartoon.createCartoonElementShapeRect(`lebel-answer-${index}-target-${uuidv4()}`, this.g_canvasWidth - 200 * this.g_mapScale, 64 * this.g_mapScale, "#FFFFFF") // FFFFFF
target.ref.x = startX target.ref.x = startX
target.ref.y = startY; target.ref.y = startY;
target.ref.alpha = 1; target.ref.alpha = 0;
line.target = target; line.target = target;
this.subscribeMapDownEvent(target.id, ()=>{ this.subscribeMapDownEvent(target.id, ()=>{
......
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