|
@@ -40,6 +40,9 @@ export class attributes_text_sound extends Component {
|
|
|
this.m_data = data;
|
|
|
this.edit_text.getComponent(EditBox).string = this.m_data.text;
|
|
|
this.sound.getComponent(receive_sound_item).updateView(this.m_data.sound_data)
|
|
|
+ if(!this.m_data.pos_y) {
|
|
|
+ this.m_data.pos_y = 0
|
|
|
+ }
|
|
|
this.edit_y.getComponent(EditBox).string = this.m_data.pos_y.toString()
|
|
|
if(this.m_data.is_open_click_close==undefined){
|
|
|
this.m_data.is_open_click_close = true;
|