@lightningjs/blits 0.7.4 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -236,12 +236,12 @@ const removeView = async (route, view, transition) => {
236
236
  cacheMap.set(route, { view: view, focus: previousFocus })
237
237
  } else {
238
238
  // remove and cleanup
239
- for (let i = 0; i < view[symbols.children].length; i++) {
240
- if (view[symbols.children][i] && view[symbols.children][i].destroy) {
241
- view[symbols.children][i].destroy()
242
- view[symbols.children][i] = null
243
- }
244
- }
239
+ // for (let i = 0; i < view[symbols.children].length; i++) {
240
+ // if (view[symbols.children][i] && view[symbols.children][i].destroy) {
241
+ // view[symbols.children][i].destroy()
242
+ // view[symbols.children][i] = null
243
+ // }
244
+ // }
245
245
  view.destroy()
246
246
  view = null
247
247
  }
@@ -43,7 +43,7 @@ export default function () {
43
43
  const mimeType = ext === 'png' ? 'image/png' : 'application/json'
44
44
 
45
45
  if (!fs.existsSync(generatedFontFile)) {
46
- console.log(`Generating ${targetDir}/${fontName}.msdf.${ext}`)
46
+ console.log(`\nGenerating ${targetDir}/${fontName}.msdf.${ext}`)
47
47
  await generateFont(fontFile, targetDir, fontName)
48
48
  }
49
49