Commit f995a9b7 authored by 李维's avatar 李维

Bug fix

parent ee489dd3
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
"array": [ "array": [
0, 0,
0, 0,
361.9986187818954, 273.54286020177153,
0, 0,
0, 0,
0, 0,
...@@ -5221,7 +5221,7 @@ ...@@ -5221,7 +5221,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "35dGJsFRRO3IqzWWXtnNzA" "_id": "06puSejsdB7JE/aDbkuc4T"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -5257,7 +5257,7 @@ ...@@ -5257,7 +5257,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "88lpZGxa1PwZMyMXVkpOEW" "_id": "28JET8+WBJpJ8DZsDvtwLg"
}, },
{ {
"__type__": "cc.PrivateNode", "__type__": "cc.PrivateNode",
...@@ -5320,7 +5320,7 @@ ...@@ -5320,7 +5320,7 @@
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"showInEditor": false, "showInEditor": false,
"_id": "b2RXCeOL9EP6R9acGAHYig" "_id": "97t8KGeWxN3KUNS6sWUy/a"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
...@@ -5356,7 +5356,7 @@ ...@@ -5356,7 +5356,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "0cWlolPsVBUoeQ7Fq3yXcs" "_id": "68gZuRd1RPY5vEdnZd9pWi"
}, },
{ {
"__type__": "cc.RichText", "__type__": "cc.RichText",
......
...@@ -335,7 +335,7 @@ cc.Class({ ...@@ -335,7 +335,7 @@ cc.Class({
repositionButton() { repositionButton() {
const btn_restart = cc.find('Canvas/buttons/btn_restart'); const btn_restart = cc.find('Canvas/buttons/btn_restart');
btn_restart.y = -cc.winSize.height / 2 + 80 btn_restart.y = -cc.winSize.height / 2 + 40
}, },
initListeners() { initListeners() {
...@@ -352,7 +352,7 @@ cc.Class({ ...@@ -352,7 +352,7 @@ cc.Class({
let that = this let that = this
cc.view.setResizeCallback(function() { cc.view.setResizeCallback(function() {
// console.log("sizeChange"); // console.log("sizeChange");
this.repositionButton(); that.repositionButton();
}); });
btn_restart.on('click', async () => { btn_restart.on('click', async () => {
......
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