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

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

1 Commits

Author SHA1 Message Date
HAL9000 77c1ebb630 fix(tui): rename ActorSelectionOverlay._render to avoid shadowing Textual Widget._render
CI / push-validation (pull_request) Successful in 57s
CI / helm (pull_request) Successful in 1m1s
CI / build (pull_request) Successful in 1m13s
CI / lint (pull_request) Failing after 1m44s
CI / quality (pull_request) Successful in 1m53s
CI / typecheck (pull_request) Successful in 1m59s
CI / security (pull_request) Successful in 2m0s
CI / unit_tests (pull_request) Failing after 5m23s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / integration_tests (pull_request) Successful in 5m31s
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 17:31:05 +00:00