Commit 5695e599 authored by 李维's avatar 李维

Bug fix

parent c9eb17a3
......@@ -56,7 +56,7 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
}
this.init();
this.refresh();
this.save()
// this.save()
}, this.KEY);
}
ngOnChanges() {
......
......@@ -198,6 +198,7 @@ export class PlayComponent implements OnInit, OnDestroy {
this.initCutter()
this.initHand()
this.initBlackMask()
this.initTestLabel();
}
cleanGameVar(){
......@@ -308,6 +309,13 @@ export class PlayComponent implements OnInit, OnDestroy {
this.render(PB.ref)
}
initTestLabel() {
let labelText = this.g_cartoon.createLabel("Test", "BRLNSR_1", "#634846", 50)
labelText.x = 0;
labelText.y = 0;
this.render(labelText, -1)
}
initXuanZhuanTai(){
let element = this.g_cartoon.createCartoonElementImageFunc("XuanZhuanTai", "bg_taizi", (w, h)=>{
return {
......
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