(attrName: string)
| 189 | |
| 190 | if (__DEV__) { |
| 191 | const warn = (attrName: string) => { |
| 192 | /* eslint-disable-next-line */ |
| 193 | console.warn(`Calculated decal size is greater than ${attrName} due to decal option settings so ${attrName} is used for the decal size. Please consider changing the decal option to make a smaller decal or set ${attrName} to be larger to avoid incontinuity.`); |
| 194 | }; |
| 195 | if (width > decalOpt.maxTileWidth) { |
| 196 | warn('maxTileWidth'); |
| 197 | } |