From 90a0da682017ca8cfc2840df0c57009ffecebf9b Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 25 Aug 2026 07:13:37 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20correct=20025108a8=20=E2=80=94=20drop=20?= =?UTF-8?q?the=20accidentally-committed=20owner=20probe=20hunk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 ... -- ` 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 --- src/AcDream.App/UI/UiRoot.cs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/AcDream.App/UI/UiRoot.cs b/src/AcDream.App/UI/UiRoot.cs index 2ad658a0..be9e107f 100644 --- a/src/AcDream.App/UI/UiRoot.cs +++ b/src/AcDream.App/UI/UiRoot.cs @@ -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="); } }