Commit bb08b2c
refactor: rename TileInfo.tile() to TileInfo.index()
The method shadowed the global tile() factory and the name did not
convey that it derives a tile at an absolute index using this tile as
a layout template. Renamed to index() to match the parameter-based
naming of offset() and frame(), and moved it next to them.
BREAKING CHANGE: TileInfo.tile() removed with no deprecated alias.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 4ba6658 commit bb08b2c
8 files changed
Lines changed: 44 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1692 | 1692 | | |
1693 | 1693 | | |
1694 | 1694 | | |
1695 | | - | |
1696 | | - | |
| 1695 | + | |
| 1696 | + | |
1697 | 1697 | | |
1698 | 1698 | | |
1699 | | - | |
| 1699 | + | |
1700 | 1700 | | |
1701 | | - | |
1702 | | - | |
| 1701 | + | |
| 1702 | + | |
1703 | 1703 | | |
1704 | 1704 | | |
1705 | | - | |
| 1705 | + | |
1706 | 1706 | | |
1707 | 1707 | | |
1708 | 1708 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4198 | 4198 | | |
4199 | 4199 | | |
4200 | 4200 | | |
| 4201 | + | |
| 4202 | + | |
| 4203 | + | |
| 4204 | + | |
| 4205 | + | |
| 4206 | + | |
| 4207 | + | |
| 4208 | + | |
4201 | 4209 | | |
4202 | 4210 | | |
4203 | 4211 | | |
| |||
4211 | 4219 | | |
4212 | 4220 | | |
4213 | 4221 | | |
4214 | | - | |
4215 | | - | |
4216 | | - | |
4217 | | - | |
4218 | | - | |
4219 | | - | |
4220 | | - | |
4221 | | - | |
4222 | 4222 | | |
4223 | 4223 | | |
4224 | 4224 | | |
| |||
7934 | 7934 | | |
7935 | 7935 | | |
7936 | 7936 | | |
7937 | | - | |
| 7937 | + | |
7938 | 7938 | | |
7939 | 7939 | | |
7940 | 7940 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4198 | 4198 | | |
4199 | 4199 | | |
4200 | 4200 | | |
| 4201 | + | |
| 4202 | + | |
| 4203 | + | |
| 4204 | + | |
| 4205 | + | |
| 4206 | + | |
| 4207 | + | |
| 4208 | + | |
4201 | 4209 | | |
4202 | 4210 | | |
4203 | 4211 | | |
| |||
4211 | 4219 | | |
4212 | 4220 | | |
4213 | 4221 | | |
4214 | | - | |
4215 | | - | |
4216 | | - | |
4217 | | - | |
4218 | | - | |
4219 | | - | |
4220 | | - | |
4221 | | - | |
4222 | 4222 | | |
4223 | 4223 | | |
4224 | 4224 | | |
| |||
7934 | 7934 | | |
7935 | 7935 | | |
7936 | 7936 | | |
7937 | | - | |
| 7937 | + | |
7938 | 7938 | | |
7939 | 7939 | | |
7940 | 7940 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3507 | 3507 | | |
3508 | 3508 | | |
3509 | 3509 | | |
| 3510 | + | |
| 3511 | + | |
| 3512 | + | |
| 3513 | + | |
| 3514 | + | |
| 3515 | + | |
| 3516 | + | |
| 3517 | + | |
3510 | 3518 | | |
3511 | 3519 | | |
3512 | 3520 | | |
| |||
3520 | 3528 | | |
3521 | 3529 | | |
3522 | 3530 | | |
3523 | | - | |
3524 | | - | |
3525 | | - | |
3526 | | - | |
3527 | | - | |
3528 | | - | |
3529 | | - | |
3530 | | - | |
3531 | 3531 | | |
3532 | 3532 | | |
3533 | 3533 | | |
| |||
7243 | 7243 | | |
7244 | 7244 | | |
7245 | 7245 | | |
7246 | | - | |
| 7246 | + | |
7247 | 7247 | | |
7248 | 7248 | | |
7249 | 7249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
193 | 201 | | |
194 | 202 | | |
195 | 203 | | |
| |||
203 | 211 | | |
204 | 212 | | |
205 | 213 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
| 486 | + | |
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
| |||
0 commit comments