Commit 00b878e4 authored by 李维's avatar 李维

Bug fix

parent 2331ffeb
...@@ -710,14 +710,14 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -710,14 +710,14 @@ export class PlayComponent implements OnInit, OnDestroy {
} }
}, (w, h)=>{ }, (w, h)=>{
return { return {
x: -5, x: -2,
y: -5 y: -2
} }
}) })
let redOutline = new ShapeRect(); let redOutline = new ShapeRect();
redOutline.fillColor = "#ff5252" redOutline.fillColor = "#ff5252"
redOutline.setSize(container.content.width * container.content.scaleX + 10, container.content.height * container.content.scaleY + 10); redOutline.setSize(container.content.width * container.content.scaleX + 4, container.content.height * container.content.scaleY + 4);
redOutline.x = -container.content.width * container.content.scaleX / 2 redOutline.x = -container.content.width * container.content.scaleX / 2
redOutline.y = -container.content.height * container.content.scaleY / 2 redOutline.y = -container.content.height * container.content.scaleY / 2
if(container.isImage) { if(container.isImage) {
...@@ -798,6 +798,12 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -798,6 +798,12 @@ export class PlayComponent implements OnInit, OnDestroy {
if(!container.isImage) { if(!container.isImage) {
container.content.fontColor = "#ff5252" container.content.fontColor = "#ff5252"
} }
setTimeout(()=>{
container.ball_highlight.visible = false;
if(!container.isImage) {
container.content.fontColor = "#00528c"
}
}, 1000)
// container.ball_highlight.visible = false; // container.ball_highlight.visible = false;
callback && callback() callback && callback()
}) })
......
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