mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-24 03:19:55 +02:00
[Fix] fear tracker offset on appearance change (#2109)
* Fix fear tracker offset on appearance change * Stealth fix countdown shift animation
This commit is contained in:
parent
8d94d5f2ea
commit
66ddb5c032
3 changed files with 3 additions and 4 deletions
|
|
@ -127,8 +127,7 @@ export default class DhAppearance extends foundry.abstract.DataModel {
|
||||||
if (this.displayFear === 'hide') {
|
if (this.displayFear === 'hide') {
|
||||||
ui.resources.close({ allowed: true });
|
ui.resources.close({ allowed: true });
|
||||||
} else {
|
} else {
|
||||||
ui.resources.render({ force: true });
|
ui.resources.render({ force: true }).then(() => ui.resources.handleOffset());
|
||||||
ui.resources.handleOffset();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,9 +21,10 @@
|
||||||
width: 18.75rem;
|
width: 18.75rem;
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
transition: 0.3s right ease-in-out;
|
transition: right 0.1s ease;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
right: 0;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: ' ';
|
content: ' ';
|
||||||
|
|
|
||||||
|
|
@ -155,7 +155,6 @@ body.theme-light {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.resource-bar {
|
.resource-bar {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue