League-of-Foundry-Developers / foundry-vtt-types

Unofficial type declarations for the Foundry Virtual Tabletop API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update tile.mjs for Foundry VTT v10.288

kmoschcau opened this issue · comments

To Change

width and height field definitions

Kind of Change

Update

Additional Info

diff '--color=auto' -r FoundryVTT-10.287/resources/app/common/documents/tile.mjs FoundryVTT-10.288/resources/app/common/documents/tile.mjs
69,70c69,70
<       width: new fields.NumberField({required: true, positive: true, nullable: false, step: 0.1}),
<       height: new fields.NumberField({required: true, positive: true, nullable: false, step: 0.1}),
---
>       width: new fields.NumberField({required: true, min: 0, nullable: false, step: 0.1}),
>       height: new fields.NumberField({required: true, min: 0, nullable: false, step: 0.1}),

Is this for tile.mjs? Will this be resolved by #2345?

Yep it will, closing this.