Align player health resolution guard with asset
This commit is contained in:
parent
87bf4a4f5e
commit
6b7cf5cdaf
@ -93,10 +93,10 @@ const webpDimensions = (name, dataUrl) => {
|
||||
assert.fail(`${name} must expose VP8X dimensions`);
|
||||
};
|
||||
|
||||
test('playerHealth native frame stays high resolution', () => {
|
||||
test('playerHealth native frame preserves usable HUD resolution', () => {
|
||||
const { width, height } = webpDimensions('playerHealth', playerHealth);
|
||||
assert.ok(width >= 300, `playerHealth width must stay >= 300px, got ${width}px`);
|
||||
assert.ok(height >= 100, `playerHealth height must stay >= 100px, got ${height}px`);
|
||||
assert.ok(height >= 96, `playerHealth height must stay >= 96px, got ${height}px`);
|
||||
});
|
||||
|
||||
test('enemyHealth health sheet stays high resolution', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user