fix(combat): preserve authored meter child geometry
Carry the consumed dark-range child's own retail edge policy into the procedural scrollbar, widening it to the authored post-reflow interval without covering the rendered labels. Restore the bright layer to live attack-charge feedback across the full bar from the left. Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
parent
f8c174d707
commit
e671b8a5c4
10 changed files with 66 additions and 105 deletions
|
|
@ -473,6 +473,9 @@ public class DatWidgetFactoryTests
|
|||
X = 63,
|
||||
Width = 407,
|
||||
Height = 14,
|
||||
OriginalParentWidth = 507,
|
||||
OriginalParentHeight = 14,
|
||||
HasOriginalParentSize = true,
|
||||
};
|
||||
range.StateMedia[""] = (0x0600715Eu, 1);
|
||||
range.States[UiStateInfo.DirectStateId] = new UiStateInfo
|
||||
|
|
@ -506,6 +509,7 @@ public class DatWidgetFactoryTests
|
|||
Assert.Equal(0x06001923u, bar.ThumbSprite);
|
||||
Assert.Equal(0x06001200u, bar.ScalarFillSprite);
|
||||
Assert.Equal(0x0600715Eu, bar.ScalarRangeSprite);
|
||||
Assert.NotNull(bar.ScalarRangeLayoutPolicy);
|
||||
Assert.False(bar.ScalarFillFromRight);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue