Add copyright text (#667)

This commit is contained in:
Sam El-Husseini authored and GitHub committed 2018-05-30 15:42:37 -07:00
1 parent d3b7530b17
commit dbdc1810cd
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -240,7 +240,7 @@ export class FieldMusic extends pxtblockly.FieldImages implements Blockly.FieldC
this.stopSounds();
}
private createTextNode_(content: string) {
protected createTextNode_(content: string) {
const category = this.parseCategory(content);
let text = content.substr(content.indexOf(' ') + 1);
text = text.length > 15 ? text.substr(0, 12) + "..." : text;