Compare commits

..

No commits in common. "a7eda31aec9df7e66b810ec3f79c197f0496f8af" and "e77b927a75d6d984211de13713c7823b27255bf0" have entirely different histories.

7 changed files with 7 additions and 9 deletions

View file

@ -253,8 +253,8 @@ export class ItemBrowser extends HandlebarsApplicationMixin(ApplicationV2) {
for (const item of this.items) {
if (['weapon', 'armor'].includes(item.type)) {
item.system.enrichedTags = await foundry.applications.handlebars.renderTemplate(
'systems/daggerheart/templates/ui/itemBrowser/item-tags.hbs',
{ item: item.system }
'systems/daggerheart/templates/sheets/global/partials/item-tags.hbs',
item.system
);
}
item.system.enrichedDescription =

View file

@ -224,7 +224,7 @@ export default class DhTooltipManager extends foundry.helpers.interaction.Toolti
if (locked || element.dataset.hasOwnProperty('locked')) this.lockTooltip();
}
_setAnchor(direction, options = {}) {
_setAnchor(direction, options) {
const directions = this.constructor.TOOLTIP_DIRECTIONS;
const pad = this.constructor.TOOLTIP_MARGIN_PX;
const pos = this.element.getBoundingClientRect();

View file

@ -1,5 +1,5 @@
{
"type": "Actor",
"type": "Item",
"folder": null,
"name": "Tier 1",
"color": null,

View file

@ -1,5 +1,5 @@
{
"type": "Actor",
"type": "Item",
"folder": null,
"name": "Tier 2",
"color": null,

View file

@ -1,5 +1,5 @@
{
"type": "Actor",
"type": "Item",
"folder": null,
"name": "Tier 3",
"color": null,

View file

@ -1,5 +1,5 @@
{
"type": "Actor",
"type": "Item",
"folder": null,
"name": "Tier 4",
"color": null,

View file

@ -1,2 +0,0 @@
{{#> "systems/daggerheart/templates/sheets/global/partials/item-tags.hbs" item }}
{{/"systems/daggerheart/templates/sheets/global/partials/item-tags.hbs"}}