mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-20 16:44:40 +01:00
Fixed damage roll on colorful mode
This commit is contained in:
parent
320eec1230
commit
3b1cedf90d
5 changed files with 12 additions and 3 deletions
|
|
@ -113,7 +113,9 @@ export default class DamageSelectionDialog extends HandlebarsApplicationMixin(Ap
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static rollDamage() {
|
static rollDamage(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
|
||||||
this.resolve({
|
this.resolve({
|
||||||
rollString: this.getRollString(),
|
rollString: this.getRollString(),
|
||||||
bonusDamage: this.data.bonusDamage,
|
bonusDamage: this.data.bonusDamage,
|
||||||
|
|
|
||||||
|
|
@ -229,6 +229,10 @@
|
||||||
border-color: black;
|
border-color: black;
|
||||||
min-height: unset;
|
min-height: unset;
|
||||||
height: 26px;
|
height: 26px;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: var(--button-hover-background-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1522,6 +1522,9 @@
|
||||||
min-height: unset;
|
min-height: unset;
|
||||||
height: 26px;
|
height: 26px;
|
||||||
}
|
}
|
||||||
|
.chat-message.duality .duality-actions .duality-action:hover {
|
||||||
|
background: var(--button-hover-background-color);
|
||||||
|
}
|
||||||
.chat-message.duality.hope {
|
.chat-message.duality.hope {
|
||||||
background: linear-gradient(0, brown 40px, black);
|
background: linear-gradient(0, brown 40px, black);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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}}
|
{{#if this.colorful}}
|
||||||
<div class="duality-data">
|
<div class="duality-data">
|
||||||
<div class="duality-title">
|
<div class="duality-title">
|
||||||
|
|
|
||||||
|
|
@ -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}}
|
{{#if this.colorful}}
|
||||||
<div class="duality-data">
|
<div class="duality-data">
|
||||||
<div class="duality-title">
|
<div class="duality-title">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue