forked from public/foundryvtt-reve-de-dragon
		
	Afficher les sous menu par défaut
This commit is contained in:
		| @@ -17,9 +17,9 @@ export class RdDTokenHud { | |||||||
|     if (!token.inCombat) return; |     if (!token.inCombat) return; | ||||||
|     if (!combatant) return; |     if (!combatant) return; | ||||||
|  |  | ||||||
|     const hudData = { combatant: combatant, armes: RdDTokenHud.buildListeActionsCombat(combatant) }; |     let armesList = RdDTokenHud.buildListeActionsCombat(combatant) ; | ||||||
|  |     const hudData = { combatant: combatant, armes: armesList }; | ||||||
|  |  | ||||||
|     let armesList = RdDUtility.buildArmeList(combatant); |  | ||||||
|     // initiative |     // initiative | ||||||
|     await RdDTokenHud._configureSubMenu(html.find('.control-icon.combat'), 'systems/foundryvtt-reve-de-dragon/templates/hud-actor-init.html', hudData, |     await RdDTokenHud._configureSubMenu(html.find('.control-icon.combat'), 'systems/foundryvtt-reve-de-dragon/templates/hud-actor-init.html', hudData, | ||||||
|       (event) => { |       (event) => { | ||||||
| @@ -54,6 +54,7 @@ export class RdDTokenHud { | |||||||
|     const imgHud = hud.find('img.rdd-hud-togglebutton'); |     const imgHud = hud.find('img.rdd-hud-togglebutton'); | ||||||
|     const list = hud.find('div.rdd-hud-list'); |     const list = hud.find('div.rdd-hud-list'); | ||||||
|  |  | ||||||
|  |     hud.toggleClass('active'); | ||||||
|     HtmlUtility._showControlWhen(list, hud.hasClass('active')); |     HtmlUtility._showControlWhen(list, hud.hasClass('active')); | ||||||
|  |  | ||||||
|     imgHud.click(event => { |     imgHud.click(event => { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user