Skip to content
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

tree fix #744

Merged
merged 8 commits into from
Sep 7, 2022
Merged

tree fix #744

merged 8 commits into from
Sep 7, 2022

Conversation

willmcgugan
Copy link
Collaborator

@willmcgugan willmcgugan commented Sep 7, 2022

  • Updates the tree control to the new CSS API.
  • Theme colors
  • Scrolling for page up / down home / end
Screen.Recording.2022-09-07.at.15.13.45.mov

@willmcgugan willmcgugan marked this pull request as draft September 7, 2022 14:21
if key_method is not None:
if await invoke(key_method, event):
event.prevent_default()
await invoke(key_method, event)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sight change in semantics here. If there is a key_ method defined for a given key then it won't attempt to try the base classes.

@@ -1080,7 +1093,7 @@ def scroll_to_region(
self.scroll_relative(
delta.x or None,
delta.y or None,
animate=animate,
animate=animate if abs(delta_y) > 1 else False,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't animate movement of a single line.

@willmcgugan willmcgugan marked this pull request as ready for review September 7, 2022 14:36
@willmcgugan willmcgugan merged commit f1f7a62 into css Sep 7, 2022
@willmcgugan willmcgugan deleted the tree-fix branch September 7, 2022 18:45
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.

2 participants