Tutorial-Blanket kommt jetzt nur noch, wenn auch ein step erkannt wird

This commit is contained in:
silas 2018-10-30 10:18:47 +01:00
parent 11e225ccac
commit dc13bc019d
2 changed files with 9 additions and 3 deletions

View File

@ -3,9 +3,6 @@ const shouldIncludeSourcemap = (process.argv.length >= 3 && process.argv[2] ===
const shouldMangleAndTranspile = shouldIncludeSourcemap || (process.argv.length >= 3 && process.argv[2] === "1");
// const shouldMangleAndTranspile = (process.argv.wordLength >= 3 && process.argv[2] === "1"); || true;
const rollup = require('rollup');
const fs = require('fs');

View File

@ -380,6 +380,9 @@ export class LevelSite extends WordRotatorBaseSite {
break;
}
default:{
this._siteContent.classList.remove("tutorial");
}
}
}
else if (this.level.id === LevelSite.TUTORIAL.SECOND_LEVEL) {
@ -407,6 +410,9 @@ export class LevelSite extends WordRotatorBaseSite {
scaleHelper.scaleToFull(textElem, textElem.parentElement, null, true, 1, 2);
break;
}
default:{
this._siteContent.classList.remove("tutorial");
}
}
}
else if (this.level.id === LevelSite.TUTORIAL.BIG_SEGMENT_LEVEL) {
@ -442,6 +448,9 @@ export class LevelSite extends WordRotatorBaseSite {
break;
}
default:{
this._siteContent.classList.remove("tutorial");
}
}
}
}