Change-Id: Ieccf7aeaf72b9d3e8ff2766660a9f7efb1aff085
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
- set_state(PART:"elm.text", "selected", vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "selected", vl);
}
}
program { name: "go_passive";
}
}
program { name: "go_passive";
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
- set_state(PART:"elm.text", "visible", vl);
+ if (!strcmp(st, "selected"))
+ set_state(PART:"elm.text", "visible", vl);
}
}
program { name: "moving";
}
}
program { name: "moving";