mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-25 11:59:54 +02:00
Fix top center and top right positioning in some situations (#2108)
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
This commit is contained in:
parent
0471164456
commit
8d94d5f2ea
7 changed files with 53 additions and 19 deletions
13
daggerheart.d.ts
vendored
13
daggerheart.d.ts
vendored
|
|
@ -12,8 +12,10 @@ import { macros } from './module/_module.mjs';
|
|||
import * as dice from './module/dice/_module.mjs';
|
||||
import * as fields from './module/data/fields/_module.mjs';
|
||||
import { gameSettings } from './module/config/settingsConfig.mjs';
|
||||
import DhCountdowns from './module/data/countdowns.mjs';
|
||||
import DhAutomation from './module/data/settings/Automation.mjs';
|
||||
import FearTracker from './module/applications/ui/fearTracker.mjs';
|
||||
import DhCountdowns from './module/applications/ui/countdowns.mjs';
|
||||
import DhEffectsDisplay from './module/applications/ui/effectsDisplay.mjs';
|
||||
|
||||
|
||||
// Foundry's use of `Object.assign(globalThis) means many globally available objects are not read as such
|
||||
|
|
@ -115,4 +117,11 @@ declare module '@client/helpers/client-settings.mjs' {
|
|||
get(namespace: 'daggerheart', key: typeof gameSettings.Countdowns): DhCountdowns;
|
||||
get(namespace: 'daggerheart', key: string): unknown;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Add to global ui object
|
||||
declare module '@client/ui.mjs' {
|
||||
const countdowns: DhCountdowns;
|
||||
const resources: FearTracker;
|
||||
const effectsDisplay: DhEffectsDisplay;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue