2nd Pass Render
This commit is contained in:
@@ -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};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user