20,741
edits
m (→Nasal dialog) |
|||
Line 399: | Line 399: | ||
var currentText = test.label._view._text.get("text"); | var currentText = test.label._view._text.get("text"); | ||
var neededLabel = test.name ~ suffix; | var neededLabel = test.name ~ suffix; | ||
#FIXME: better use show()/hide() methods here which is more efficient than changing labels per frame ... | |||
if (currentText == neededLabel) continue; | if (currentText == neededLabel) continue; | ||
test.label.setText(neededLabel); | test.label.setText(neededLabel); |