fix(ui): restore modern spell formula presentation
Resolve spell-examination component cells through their DAT icon DIDs, project scarab and prismatic-taper formulas when ACE disables component enforcement, and version authored window geometry so stale examination sizes reset once without losing user layout behavior. Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
parent
3e31b0ac70
commit
d4ce64f56b
22 changed files with 307 additions and 41 deletions
|
|
@ -783,7 +783,7 @@ public sealed class AppraisalUiController : IRetainedPanelController
|
|||
{
|
||||
SpellExamineComponent component = components[i];
|
||||
UiElement cell = _spellComponentTemplates.Create(
|
||||
_resolveComponentIcon(component.Descriptor.WeenieClassId),
|
||||
_resolveComponentIcon(component.Descriptor.IconId),
|
||||
component.Owned);
|
||||
cell.LayoutPolicy = null;
|
||||
cell.Anchors = AnchorEdges.Left | AnchorEdges.Top;
|
||||
|
|
|
|||
|
|
@ -64,6 +64,13 @@ public static class RetailWindowFrame
|
|||
public bool DrawChromeCenter { get; init; } = true;
|
||||
public bool Visible { get; init; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Increment when the authored default extent changes incompatibly.
|
||||
/// Persistence preserves position and window state while resetting stale
|
||||
/// saved dimensions to this mount's current DAT-authored extent.
|
||||
/// </summary>
|
||||
public int AuthoredGeometryRevision { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Top-level desktop anchors. Most movable windows are unanchored; fixed
|
||||
/// retail HUD roots can preserve their authored screen-edge margins.
|
||||
|
|
@ -173,7 +180,8 @@ public static class RetailWindowFrame
|
|||
outerFrame,
|
||||
content,
|
||||
options.Controller,
|
||||
options.StateController);
|
||||
options.StateController,
|
||||
options.AuthoredGeometryRevision);
|
||||
}
|
||||
|
||||
private static float ResolveConstraint(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue