tang biao %!s(int64=5) %!d(string=hai) anos
pai
achega
bd9fcb9944
Modificáronse 2 ficheiros con 11 adicións e 9 borrados
  1. 7 7
      assets/scene/game.fire
  2. 4 2
      assets/scripts/game/HomeSideCtrl.js

+ 7 - 7
assets/scene/game.fire

@@ -733,7 +733,7 @@
     "_skewY": 0,
     "_zIndex": 0,
     "groupIndex": 0,
-    "_id": "45eL7MZ5FKJIZaIeDjfnBv"
+    "_id": "45AoVUmPtJ5rWCuqev0xnb"
   },
   {
     "__type__": "cc.Label",
@@ -758,7 +758,7 @@
     "_N$verticalAlign": 1,
     "_N$fontFamily": "Arial",
     "_N$overflow": 0,
-    "_id": "46zKdQy79AzqwSS7yk+XbP"
+    "_id": "f0MjR7gd9AN45/Cg7oQocu"
   },
   {
     "__type__": "cc.LabelOutline",
@@ -776,7 +776,7 @@
       "a": 255
     },
     "_width": 3,
-    "_id": "6aLYmGGFdNnrqhHTzRVRPS"
+    "_id": "82jRxk3RxFM6ohNIvYbQx4"
   },
   {
     "__type__": "cc.RichText",
@@ -1831,7 +1831,7 @@
     "_skewY": 0,
     "_zIndex": 0,
     "groupIndex": 0,
-    "_id": "18rrt1yfFC5bVczdgXcYEW"
+    "_id": "91iDWwP7pI2oEG93OHfh56"
   },
   {
     "__type__": "cc.Label",
@@ -1856,7 +1856,7 @@
     "_N$verticalAlign": 1,
     "_N$fontFamily": "Arial",
     "_N$overflow": 0,
-    "_id": "18ClQ6fIhP2LkOvWeFCvFU"
+    "_id": "70qRh9XCZHF6Pe7GY4zWJX"
   },
   {
     "__type__": "cc.RichText",
@@ -2276,7 +2276,7 @@
     "_skewY": 0,
     "_zIndex": 0,
     "groupIndex": 0,
-    "_id": "1dt78KYYJKNrCVMQ4WZaPa"
+    "_id": "f1donZxWRLn7TpNawuBeoT"
   },
   {
     "__type__": "cc.Label",
@@ -2301,7 +2301,7 @@
     "_N$verticalAlign": 1,
     "_N$fontFamily": "Arial",
     "_N$overflow": 0,
-    "_id": "20LqAodDlLw5qxILh+K/tN"
+    "_id": "28F2jvwItBk4IYc3WR9OTr"
   },
   {
     "__type__": "cc.RichText",

+ 4 - 2
assets/scripts/game/HomeSideCtrl.js

@@ -310,12 +310,14 @@ cc.Class({
             // 录屏结束;
             GameGlobal.commonAlert.showCommonErrorAlert('录屏结束');
             this._starRecord = false;
-            this.recordButton.interactable = true;
             this.startRecordNode.active = true;
             this.recordingNode.active = false;
             this.recordTimeRichText.string = '<b><color=#fdfdef >00:00</c></b>';
             this._recordTime = 0;
             this.unschedule(this.recordTimeAction, this);
+            setTimeout(() => {
+                this.recordButton.interactable = true;
+            }, 1000);
             tt.shareVideo({
                 videoPath: `${res.videoPath}`,
                 success () {
@@ -324,7 +326,7 @@ cc.Class({
                 fail (e) {
                   console.log(`分享失败!`);
                 }
-              });
+            });
         })
 
         recorder.onPause(() =>{