[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:
Carlos Fernandez 2026-07-23 14:41:18 -04:00 committed by GitHub
parent 8d94d5f2ea
commit 66ddb5c032
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -127,8 +127,7 @@ export default class DhAppearance extends foundry.abstract.DataModel {
if (this.displayFear === 'hide') {
ui.resources.close({ allowed: true });
} else {
ui.resources.render({ force: true });
ui.resources.handleOffset();
ui.resources.render({ force: true }).then(() => ui.resources.handleOffset());
}
}

View file

@ -21,9 +21,10 @@
width: 18.75rem;
pointer-events: all;
align-self: flex-end;
transition: 0.3s right ease-in-out;
transition: right 0.1s ease;
display: flex;
flex-direction: column;
right: 0;
&::before {
content: ' ';

View file

@ -156,7 +156,6 @@ body.theme-light {
transition: all 0.3s ease;
}
.resource-bar {
display: flex;
flex-direction: column;