A1: harden HoverSheenAllocStep with real dictionary-footprint assertion
This commit is contained in:
@@ -24,6 +24,11 @@ internal static class DrawListExtensions
|
||||
|
||||
private static readonly Dictionary<string, DateTime> SheenStarts = new();
|
||||
|
||||
// Test-observability hook for HoverSheenAllocStep: lets the self-test
|
||||
// assert the hover/un-hover dictionary contract via real state instead
|
||||
// of an unconditional pass (K7 false-green fix). Not a runtime path.
|
||||
internal static bool IsSheenTracked(string elementId) => SheenStarts.ContainsKey(elementId);
|
||||
|
||||
public static void DrawHoverSheen(
|
||||
this ImDrawListPtr dl,
|
||||
Vector2 min,
|
||||
|
||||
Reference in New Issue
Block a user