future 1 rok temu
rodzic
commit
57357ca1f3

+ 1 - 1
assets/scene/game.scene

@@ -14915,7 +14915,7 @@
         "__id__": 435
       }
     ],
-    "_active": true,
+    "_active": false,
     "_components": [
       {
         "__id__": 440

+ 2 - 2
assets/script/run/game_list_view/game_list.ts

@@ -119,14 +119,14 @@ export class game_list extends Component {
             this.content.position = new Vec3(n_p.x-this.x_len ,this.content.position.y);
         })
         this.content.on(Node.EventType.TOUCH_END,()=>{
-            this.x_len = 0
             if(this.onClickItem) { return }
+            this.x_len = 0
             this.touchContentScroll()
             this.content.position = new Vec3(-19,this.content.position.y)
         })
         this.content.on(Node.EventType.TOUCH_CANCEL,()=>{
-            this.x_len = 0
             if(this.onClickItem) { return }
+            this.x_len = 0
             this.touchContentScroll()
             this.content.position = new Vec3(-19,this.content.position.y)
         })