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

Fix race condition when applying styles to sidebar #2733

Merged
merged 1 commit into from
Oct 4, 2020

Conversation

Lej77
Copy link
Contributor

@Lej77 Lej77 commented Oct 3, 2020

When testing my Tree Style Tab in Separate Window helper extension I noticed that the style is a bit messed up when the sidebar page is opened in a normal tab (and therefore also when it is opened in another window). To be precise I have dark theme enabled and the active tab is highlighted in white. I tracked the problem down to a race condition and confirmed that the change in this PR fixes it.

Sidebar page to the left and normal sidebar to the right:
Tst style issue

@piroor piroor merged commit 568eb62 into piroor:trunk Oct 4, 2020
@piroor
Copy link
Owner

piroor commented Oct 4, 2020

I missed that, thanks!

@piroor
Copy link
Owner

piroor commented Oct 4, 2020

Related to this topic, I've introduced more changes to append the "style" query parameter by TST side with the commit dca685c. Now separate sidebar window will be shown with the chosen theme without any lag.

@Lej77
Copy link
Contributor Author

Lej77 commented Oct 4, 2020

Wow, thanks! I really appreciate how well you support helper extensions for Tree Style Tab!

@Lej77 Lej77 deleted the patch-3 branch October 4, 2020 13:19
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