mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 12:54:16 +02:00
Added DH style to tooltips
This commit is contained in:
parent
6448666579
commit
0a0dded664
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,6 @@ import { AdversaryBPPerEncounter, BaseBPPerEncounter } from '../config/encounter
|
|||
export default class DhTooltipManager extends foundry.helpers.interaction.TooltipManager {
|
||||
#wide = false;
|
||||
#bordered = false;
|
||||
#active = false;
|
||||
|
||||
async activate(element, options = {}) {
|
||||
const { TextEditor } = foundry.applications.ux;
|
||||
|
|
@ -321,6 +320,7 @@ export default class DhTooltipManager extends foundry.helpers.interaction.Toolti
|
|||
/**@inheritdoc */
|
||||
_setStyle(position = {}) {
|
||||
super._setStyle(position);
|
||||
this.tooltip.classList.add('dh-style');
|
||||
|
||||
if (this.#wide) {
|
||||
this.tooltip.classList.add('wide');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue