Commit 812fb80
committed
web: expand tile bounds to include outward pin labels
The tile grid was sized to cover the die plus pin marker size, but
not the label text that extends outward from each die edge (matching
the Qt GUI placement). Pin labels at the die boundary were clipped
because no tiles existed beyond the marker margin.
Expand getBounds() to account for the full label extent — marker
size + text margin + longest BTerm name width — converted to DBU at
the critical zoom where labels first appear. The same bounds feed
both server tile mapping and the client bounds response, so the
client automatically requests tiles for the expanded area.
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>1 parent 3f33ffb commit 812fb80
1 file changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | | - | |
400 | | - | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
401 | 414 | | |
402 | 415 | | |
403 | 416 | | |
| |||
0 commit comments