Made field decimal, forgot to use const, new migration

This commit is contained in:
2025-01-28 17:53:56 +01:00
parent b33b9cc29f
commit c8728ba83a
3 changed files with 7 additions and 7 deletions

View File

@ -19,11 +19,11 @@ export class BaseSpriteAction extends BaseEntity {
@Property({ type: 'json', nullable: true })
sprites?: string[]
@Property()
originX = 0
@Property({ type: 'decimal', precision: 5, scale: 2 })
originX = 0.00
@Property()
originY = 0
@Property({ type: 'decimal', precision: 5, scale: 2 })
originY = 0.00
@Property()
frameWidth = 0