Fixed damage roll on colorful mode

This commit is contained in:
WBHarry 2025-05-26 11:26:23 +02:00
parent 320eec1230
commit 3b1cedf90d
5 changed files with 12 additions and 3 deletions

View file

@ -113,7 +113,9 @@ export default class DamageSelectionDialog extends HandlebarsApplicationMixin(Ap
}
}
static rollDamage() {
static rollDamage(event) {
event.preventDefault();
this.resolve({
rollString: this.getRollString(),
bonusDamage: this.data.bonusDamage,

View file

@ -229,6 +229,10 @@
border-color: black;
min-height: unset;
height: 26px;
&:hover {
background: var(--button-hover-background-color);
}
}
}

View file

@ -1522,6 +1522,9 @@
min-height: unset;
height: 26px;
}
.chat-message.duality .duality-actions .duality-action:hover {
background: var(--button-hover-background-color);
}
.chat-message.duality.hope {
background: linear-gradient(0, brown 40px, black);
}

View file

@ -1,4 +1,4 @@
<div class="dice-roll daggerheart chat roll" data-action="expandRoll">
<div class="daggerheart chat roll" data-action="expandRoll">
{{#if this.colorful}}
<div class="duality-data">
<div class="duality-title">

View file

@ -1,4 +1,4 @@
<div class="dice-roll daggerheart chat roll" data-action="expandRoll">
<div class="daggerheart chat roll" data-action="expandRoll">
{{#if this.colorful}}
<div class="duality-data">
<div class="duality-title">