fix(tui): rename ActorSelectionOverlay._render to _refresh_display #11201

Closed
HAL9000 wants to merge 1 commits from fix/tui-actor-selection-overlay into master

1 Commits

Author SHA1 Message Date
HAL9000 27af4c4c42 fix(tui): rename ActorSelectionOverlay._render to avoid shadowing Textual Widget._render
CI / push-validation (pull_request) Successful in 43s
CI / helm (pull_request) Successful in 46s
CI / build (pull_request) Successful in 1m4s
CI / lint (pull_request) Failing after 1m21s
CI / quality (pull_request) Successful in 1m50s
CI / typecheck (pull_request) Successful in 1m56s
CI / security (pull_request) Successful in 1m54s
CI / integration_tests (pull_request) Successful in 4m35s
CI / unit_tests (pull_request) Failing after 8m37s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / status-check (pull_request) Failing after 3s
Renamed ActorSelectionOverlay._render() to _refresh_display() to avoid
shadowing the Textual Widgets internal _render method. The overlay class
inherits from textual.widgets.Static which has its own _render for rendering
widget content. Shadowing this caused incorrect repaint behavior and
interfered with Textual layout pass, resulting in
AttributeError: 'NoneType' object has no attribute 'get_height'.

Also added a TDD regression test (tdd_actor_selection_render_rename.feature)
and fixed CHANGELOG.md by moving the ActorSelectionOverlay entry under the
### Fixed subsection within [Unreleased].

ISSUES CLOSED: #11039
2026-05-13 20:48:17 +00:00