UI work to improve look and feel of Viewers

This commit is contained in:
Stefan Zermatten
2021-10-17 23:28:39 +02:00
parent 247353f0ed
commit bc6c857b6b
13 changed files with 420 additions and 196 deletions

View File

@@ -15,6 +15,7 @@ export default function(){
assert.equal(scope('strength').modifier, 1);
assert.equal(prop('referencesDexId').value, 4);
assert.equal(prop('hitDiceId').constitutionMod, 5);
assert.equal(prop('overriddenDexId').overridden, true, 'override properties with the same variable name');
assert.equal(
prop('parseErrorId').baseValue.value, null,
'Parse errors should null the value'
@@ -44,11 +45,22 @@ var testProperties = [
calculation: '12'
},
}),
clean({
_id: 'overriddenDexId',
variableName: 'dexterity',
type: 'attribute',
attributeType: 'ability',
order: 1,
baseValue: {
calculation: '15'
},
}),
clean({
_id: 'dexterityId',
variableName: 'dexterity',
type: 'attribute',
attributeType: 'ability',
order: 2,
baseValue: {
calculation: '15'
},