chore: leave visual_display_manager untouched so #523 can merge

The only change this branch made to that file was a docstring, and it
collided with #523's rewrite of the same method -- so #534 and #523 each
merged cleanly against main but conflicted with each other. Reverted to
main's text; #523 owns this method and adds frame_hold to it.

The note the docstring carried ('frame_hold arrives in #523') would have
been stale the moment #523 landed anyway. The parity test in #523 is
what actually keeps the two signatures honest.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014RRtqXDCnvnY6EQwhT5CV9
This commit is contained in:
ChuckBuilds
2026-09-07 09:56:37 -04:00
co-authored by Claude Opus 5
parent b3d9af4bcd
commit 25d3f35b55
@@ -507,15 +507,7 @@ class VisualTestDisplayManager:
# ------------------------------------------------------------------ # ------------------------------------------------------------------
def set_scrolling_state(self, is_scrolling: bool): def set_scrolling_state(self, is_scrolling: bool):
"""Set the current scrolling state (no-op for testing). """Set the current scrolling state (no-op for testing)."""
Deliberately mirrors DisplayManager.set_scrolling_state exactly. A
double that accepts arguments production does not lets a call pass
every harness run and then raise TypeError on the panel, which is the
one failure a safety harness exists to prevent. ``frame_hold`` arrives
here in the same change that adds it to DisplayManager (#523), not
before.
"""
self._scrolling_state['is_scrolling'] = is_scrolling self._scrolling_state['is_scrolling'] = is_scrolling
if is_scrolling: if is_scrolling:
self._scrolling_state['last_scroll_activity'] = time.time() self._scrolling_state['last_scroll_activity'] = time.time()