kingkont 0.8.3 → 0.8.5
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.
- package/package.json +1 -1
- package/renderer/board.js +9 -1
package/package.json
CHANGED
package/renderer/board.js
CHANGED
|
@@ -694,7 +694,15 @@ async function closeProject() {
|
|
|
694
694
|
|
|
695
695
|
// =================== Sidebar ===================
|
|
696
696
|
async function refreshSidebar() {
|
|
697
|
-
|
|
697
|
+
// Sequential, НЕ Promise.all — параллельная итерация filmHandle.entries()
|
|
698
|
+
// (или дочерних) триггерит баг Chromium FS-Access-API: один из вызовов
|
|
699
|
+
// entries() возвращает пусто, и соответствующая часть sidebar (обычно
|
|
700
|
+
// episodes) не наливается. Воспроизводилось как «не грузятся через раз»
|
|
701
|
+
// на повторном openFilm. Каждый sub-refresh в try чтобы один зафейленный
|
|
702
|
+
// не валил остальные.
|
|
703
|
+
try { await refreshCharacters(); } catch (e) { vlog('err', 'refreshCharacters: ' + (e?.message || e)); }
|
|
704
|
+
try { await refreshLocations(); } catch (e) { vlog('err', 'refreshLocations: ' + (e?.message || e)); }
|
|
705
|
+
try { await refreshEpisodes(); } catch (e) { vlog('err', 'refreshEpisodes: ' + (e?.message || e)); }
|
|
698
706
|
}
|
|
699
707
|
|
|
700
708
|
function makeBoardItem(it, kind) {
|