First round of test
This commit is contained in:
@@ -275,7 +275,20 @@ Hooks.once("ready", () => {
|
||||
if (adapter.users.isGM()) {
|
||||
directorsBoard = new DirectorsBoard(stateStore, scryingPoolController, adapter, scenePresetManager, playerPrivacyManager);
|
||||
directorsBoard.init();
|
||||
window.directorsBoard = directorsBoard;
|
||||
}
|
||||
|
||||
// Pre-load participant-card as a Handlebars partial for directors-board
|
||||
// ApplicationV2 requires partials to be registered explicitly
|
||||
(async () => {
|
||||
try {
|
||||
const resp = await fetch('modules/video-view-manager/templates/participant-card.hbs');
|
||||
const source = await resp.text();
|
||||
Handlebars.registerPartial('modules/video-view-manager/templates/participant-card.hbs', source);
|
||||
} catch (err) {
|
||||
console.warn('[ScryingPool] Failed to register participant-card partial:', err);
|
||||
}
|
||||
})();
|
||||
|
||||
// Story 4.1: Initialize PlayerPrivacyPanelMenu with DI dependencies
|
||||
// Story 4.2: Pass portraitFallbackHandler for portrait selection
|
||||
|
||||
Reference in New Issue
Block a user