xx 1 жил өмнө
parent
commit
9d0db89bbd

+ 1 - 0
assets/script/edit/Attributes.ts

@@ -285,6 +285,7 @@ export class Attributes extends Component {
                 this.attributes_map.get("animation").active = true;
                 this.attributes_map.get("scene_set").active = true;
                 this.attributes_map.get("rotation").active = false;
+                this.attributes_map.get("be_active").active = true;
             }
             this.scheduleOnce(()=>{
                 this.updateAttInfo()

+ 6 - 1
assets/script/edit/scroll_scene.ts

@@ -60,6 +60,9 @@ export class scroll_scene extends Component {
                     }
       
                     break;
+                case config.attributes_list_type.is_interaction:
+                    this.node.getComponent(ScrollView).enabled = this.m_att.is_interaction;
+                break;
                 
 
             }
@@ -179,7 +182,9 @@ export class scroll_scene extends Component {
     }
     public startTouch(){
         if(this.mask_view!=null){
-            this.node.getComponent(ScrollView).enabled = true;
+            if(this.m_att.is_interaction!=false){
+                this.node.getComponent(ScrollView).enabled = true;
+            }
         }
     }
     public getContent():Node{