Commit 30225c2
mergetest
Fix defensive factory row spacing and z-order
Two in-game bugs on 12.1, root-caused via investigation:
- Spacing: layoutRow double-scaled the icon-size term (correct for the buff
row's legacy math, wrong for defensives, which the legacy path stepped by
unscaled size). Added a preScaledStep layout flag; the defensive row opts
into the legacy unscaled-size stride. Buff row math unchanged.
- Z-order: the factory container's anchor frame had no frame level, so the
row drew under the health bar and name text. Create now sets it from a
frameLevelOffset (buffs +40, defensives +51 = legacy contentOverlay+26
parity, honoring defensiveIconFrameLevel), re-applied on each layout-version
bump so runtime changes and Rebuilds keep it. Raising the anchor raises the
whole native subtree. The Defensive Icon frame-level setting is un-blocked,
since the factory now honors it.
Known limitation (deferred): slider drag-previews don't reach the factory
container, so defensive/buff settings apply on drag-release, not live mid-drag.
The duplicate-aura bug (one aura per matching filter) is parked for PTR-4.1 parent 561f698 commit 30225c2
3 files changed
Lines changed: 33 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2563 | 2563 | | |
2564 | 2564 | | |
2565 | 2565 | | |
| 2566 | + | |
| 2567 | + | |
2566 | 2568 | | |
2567 | 2569 | | |
2568 | 2570 | | |
| |||
2631 | 2633 | | |
2632 | 2634 | | |
2633 | 2635 | | |
| 2636 | + | |
| 2637 | + | |
| 2638 | + | |
| 2639 | + | |
| 2640 | + | |
2634 | 2641 | | |
2635 | 2642 | | |
2636 | 2643 | | |
| |||
2641 | 2648 | | |
2642 | 2649 | | |
2643 | 2650 | | |
| 2651 | + | |
2644 | 2652 | | |
2645 | 2653 | | |
2646 | 2654 | | |
| |||
2697 | 2705 | | |
2698 | 2706 | | |
2699 | 2707 | | |
| 2708 | + | |
| 2709 | + | |
| 2710 | + | |
2700 | 2711 | | |
2701 | 2712 | | |
2702 | 2713 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
582 | | - | |
583 | | - | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
584 | 593 | | |
585 | 594 | | |
586 | 595 | | |
| |||
1087 | 1096 | | |
1088 | 1097 | | |
1089 | 1098 | | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
1090 | 1104 | | |
1091 | 1105 | | |
1092 | 1106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6335 | 6335 | | |
6336 | 6336 | | |
6337 | 6337 | | |
6338 | | - | |
6339 | | - | |
6340 | | - | |
6341 | | - | |
| 6338 | + | |
| 6339 | + | |
| 6340 | + | |
| 6341 | + | |
6342 | 6342 | | |
6343 | 6343 | | |
6344 | 6344 | | |
| |||
6382 | 6382 | | |
6383 | 6383 | | |
6384 | 6384 | | |
6385 | | - | |
| 6385 | + | |
6386 | 6386 | | |
6387 | 6387 | | |
6388 | | - | |
6389 | | - | |
6390 | | - | |
6391 | 6388 | | |
6392 | 6389 | | |
6393 | 6390 | | |
| |||
0 commit comments