mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-05 20:34:15 +02:00
Setting dh-style for ResourceManagementTooltip and ArmorManagementTooltip
This commit is contained in:
parent
0a0dded664
commit
8b762ae5ee
2 changed files with 2 additions and 3 deletions
|
|
@ -1045,7 +1045,7 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
||||||
game.tooltip.activate(target, {
|
game.tooltip.activate(target, {
|
||||||
html,
|
html,
|
||||||
locked: true,
|
locked: true,
|
||||||
cssClass: 'bordered-tooltip',
|
cssClass: 'bordered-tooltip dh-style',
|
||||||
direction: 'DOWN'
|
direction: 'DOWN'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1141,7 +1141,7 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
||||||
game.tooltip.activate(target, {
|
game.tooltip.activate(target, {
|
||||||
html,
|
html,
|
||||||
locked: true,
|
locked: true,
|
||||||
cssClass: 'bordered-tooltip',
|
cssClass: 'bordered-tooltip dh-style',
|
||||||
direction: 'DOWN',
|
direction: 'DOWN',
|
||||||
noOffset: true
|
noOffset: true
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -320,7 +320,6 @@ export default class DhTooltipManager extends foundry.helpers.interaction.Toolti
|
||||||
/**@inheritdoc */
|
/**@inheritdoc */
|
||||||
_setStyle(position = {}) {
|
_setStyle(position = {}) {
|
||||||
super._setStyle(position);
|
super._setStyle(position);
|
||||||
this.tooltip.classList.add('dh-style');
|
|
||||||
|
|
||||||
if (this.#wide) {
|
if (this.#wide) {
|
||||||
this.tooltip.classList.add('wide');
|
this.tooltip.classList.add('wide');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue