|
@@ -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{
|