2nd Pass Render

This commit is contained in:
2026-08-05 16:21:17 -04:00
parent 2f96dd3da5
commit 67524206fb
23 changed files with 251 additions and 89 deletions
+3 -1
View File
@@ -274,7 +274,9 @@ Hover resolveHover(int x, int y) {
const int seg = footerToggleSegmentHit(x, y, w, h);
if (seg >= 0) return Hover{HoverKind::ModeSegment, seg};
const FooterBarLayout fb = footerBarLayoutFor(w, h);
if (hitTestFooterBar(x, y, fb) == FooterHit::Tail) return Hover{HoverKind::TailButton, -1};
const FooterHit footerHit = hitTestFooterBar(x, y, fb);
if (footerHit == FooterHit::Tail) return Hover{HoverKind::TailButton, -1};
if (footerHit == FooterHit::SecondPass) return Hover{HoverKind::SecondPassButton, -1};
const ButtonRect pb = pruneButtonRectFor(w, h);
if (hitTestPruneButton(x, y, pb)) return Hover{HoverKind::PruneButton, -1};
}