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

Fixes state issue & Uses more accurate events #14

Merged
merged 4 commits into from
May 20, 2024
Merged

Conversation

MrMugame
Copy link
Contributor

(1)

I removed all trailing spaces I could find, because it got annoying to work with otherwise

(2)

I looked into the sortable-tree library, because the way you fixed it, one sometimes got the tree twice, which was annoying. One case where that would happen is:

  • Create page (Type something so it’s actually created)
  • Switch pages through treeview
  • => Double tree view

This is a bug in that library I made a PR there fixing it and added the version from my fork to this repository. I also removed the old error recovery mechanism, because it's now obsolete.

(3)

I fixed the registered event handlers to better capture all necessary events. I'm still not quite sure there but I think this now makes the tree feel more responsive.

@joekrill
Copy link
Owner

Thanks for this @MrMugame!

@joekrill joekrill merged commit 25df026 into joekrill:main May 20, 2024
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