fix: correct 025108a8 — drop the accidentally-committed owner probe hunk

025108a8's own git-add -p staging for src/AcDream.App/UI/UiRoot.cs was
correct (only the ClipsChildren override + WantsMouse hunks staged,
verified via git diff --cached before committing), but the trailing
`git commit -m ... -- <pathspec>` listed UiRoot.cs by path — and a
pathspec-scoped `git commit` re-reads THOSE paths from the WORKING
TREE rather than honoring the index, silently pulling in the
pre-existing uncommitted ACDREAM_PROBE_UI_HOVER hunk alongside the
two intended ones.

This commit removes exactly that 17-line probe hunk from HEAD via a
direct index/blob edit (git hash-object + update-index), touching
ONLY the git object database — the working tree file is untouched
and still carries the probe as an uncommitted change, exactly as it
was before the CT-GF1 fix round started. Diffed the corrected blob
against HEAD to confirm the removal is byte-for-byte just the probe
block, nothing else.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Erik 2026-08-25 07:13:37 +02:00
parent 025108a8aa
commit 90a0da6820

View file

@ -1418,23 +1418,6 @@ public sealed class UiRoot : UiElement
Data1: (int)(x - screen.X),
Data2: (int)(y - screen.Y));
w.OnEvent(in enter);
if (UiDiagnostics.ProbeHover)
{
string detail = w is UiScrollbar sb
? $" start=0x{sb.ActiveStartSpriteForTest:X8}"
+ $" end=0x{sb.ActiveEndSpriteForTest:X8}"
+ $" thumb=0x{sb.ActiveThumbSpriteForTest:X8}"
+ $" disabled={sb.IsModelDisabled}"
: "";
Console.WriteLine(
$"[ui-hover] widget={w.GetType().Name}"
+ $" dat=0x{w.DatElementId:X8}"
+ $" local=({(int)(x - screen.X)},{(int)(y - screen.Y)}){detail}");
}
}
else if (UiDiagnostics.ProbeHover)
{
Console.WriteLine("[ui-hover] widget=<none>");
}
}