Fixed to use Foundry's measuring instead.

This commit is contained in:
WBHarry 2025-07-29 17:59:32 +02:00
parent b80f598625
commit 9baaa0c01f
6 changed files with 28 additions and 82 deletions

View file

@ -43,26 +43,14 @@ export const range = {
}
};
export const compareOperator = {
lessThan: {
id: 'lessThan',
label: 'DAGGERHEART.CONFIG.CompareOperator.lessThan'
export const rangeInclusion = {
withinRange: {
id: 'withinRange',
label: 'DAGGERHEART.CONFIG.RangeInclusion.withinRange'
},
lessThanEqual: {
id: 'lessThanEqual',
label: 'DAGGERHEART.CONFIG.CompareOperator.lessThanEqual'
},
equal: {
id: 'equal',
label: 'DAGGERHEART.CONFIG.CompareOperator.equal'
},
moreThanEqual: {
id: 'moreThanEqual',
label: 'DAGGERHEART.CONFIG.CompareOperator.moreThanEqual'
},
moreThan: {
id: 'moreThan',
label: 'DAGGERHEART.CONFIG.CompareOperator.moreThan'
outsideRange: {
id: 'outsideRange',
label: 'DAGGERHEART.CONFIG.RangeInclusion.outsideRange'
}
};