Howto:Reset/re-init Troubleshooting: Difference between revisions

Jump to navigation Jump to search
m
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);

Navigation menu