[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') { 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();
} }
} }

View file

@ -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: ' ';

View file

@ -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;