-
Notifications
You must be signed in to change notification settings - Fork 829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the drawing of Tree
lines in respect to things being selected
#2482
Conversation
Rather than always start at the root, the code should start at the beginning of the path. See Textualize#2397.
Redux. I managed to commit the wrong thing last time; although it was using this and this was done for that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐍 🚀
|
||
### Changed | ||
|
||
- The DataTable cursor is now scrolled into view when the cursor coordinate is changed programmatically https://github.com/Textualize/textual/issues/2459 | ||
- run_worker exclusive parameter is now `False` by default https://github.com/Textualize/textual/pull/2470 | ||
- Added `always_update` as an optional argument for `reactive.var` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😆 isn't an "Added" line a feature that was added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normally yes but really this just changes the behaviour of var
rather than adds something new. Felt a bit grand to have it in the added section.
This PR fixes two distinct but overlapping issues with the drawing of lines with
Tree
.show_root=True
and the root node was selected.Tree
was first draw or first received focus.To aid with the latter issue
reactive.var
has acquired analways_update
parameter.See #2397.