Commit 88a36db
committed
Fix: DF Dash taint on secretRect icon borders (defensive + missing buff)
DF_DASH lays its dashes out from the border frame's width/height, but on
the 12.1 container icons that rect is SECRET — reading GetWidth() taints
and throws (spammed once per frame via the anim driver). The knownWidth/
knownHeight feed already exists for exactly this (AD placed borders use
it, which is why the AD frame border was fine); the defensive slot and
missing-buff badge just weren't passing it. Feed the configured slot /
badge size so the dash math uses it instead of the secret rect. Only
DF_DASH reads the frame size; the overlay effects anchor relatively.1 parent b04ee96 commit 88a36db
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
1064 | 1069 | | |
1065 | 1070 | | |
1066 | 1071 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
463 | 467 | | |
464 | 468 | | |
465 | 469 | | |
| |||
0 commit comments