chore: semantics
This commit is contained in:
parent
df45037455
commit
eb40df98cf
|
@ -44,7 +44,7 @@ export default class VisibleAabbs extends System {
|
||||||
if (VisibleAabb) {
|
if (VisibleAabb) {
|
||||||
let size = undefined;
|
let size = undefined;
|
||||||
if (Sprite) {
|
if (Sprite) {
|
||||||
const frame = Sprite.animation
|
const frame = '' !== Sprite.animation
|
||||||
? Sprite.$$sourceJson.animations[Sprite.animation][Sprite.frame]
|
? Sprite.$$sourceJson.animations[Sprite.animation][Sprite.frame]
|
||||||
: '';
|
: '';
|
||||||
size = Sprite.$$sourceJson.frames[frame].sourceSize;
|
size = Sprite.$$sourceJson.frames[frame].sourceSize;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user