Commit 905cec89 authored by wildfirecode's avatar wildfirecode

1

parent 5487e7de
......@@ -10,7 +10,9 @@ export default class Share2Scene extends Scene {
}
initUI(data) {
this.height = this.stage.stageHeight;
this.once(egret.Event.ADDED_TO_STAGE,()=>{
this.height = this.stage.stageHeight;
},this);
}
onTap_btn() {
......
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