Skip to content

Fixed recursion error in HeaderClock by restricting refresh to the ac…#6373

Open
alexyzhao24 wants to merge 1 commit intoTextualize:mainfrom
alexyzhao24:Open-source-Contribution
Open

Fixed recursion error in HeaderClock by restricting refresh to the ac…#6373
alexyzhao24 wants to merge 1 commit intoTextualize:mainfrom
alexyzhao24:Open-source-Contribution

Conversation

@alexyzhao24
Copy link

I modified HeaderClock in _header.py to implement a conditional refresh. The clock now only calls self.refresh() if its parent screen is the currently active screen (self.screen is self.app.screen).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant