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

File preview fixes #1411

Merged
merged 2 commits into from
Nov 6, 2023
Merged

File preview fixes #1411

merged 2 commits into from
Nov 6, 2023

Conversation

SystemKeeper
Copy link
Collaborator

@SystemKeeper SystemKeeper commented Nov 5, 2023

Fixes #1276

I don't know why the dispatch was introduced in the first place, as the handler is already called on the main queue (we even modify the layer before the dispatch), was introduced in #648. Also the recalculation of the layout is forced, but in my tests this was not needed?!
Also this PR adjusts the border color in case of a traitCollection update (change dark/light mode).

Best reviewed as
1536313
and
d9ae205?w=1

Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
@SystemKeeper SystemKeeper requested a review from Ivansss November 5, 2023 12:14
@Ivansss Ivansss merged commit 56af8ae into master Nov 6, 2023
6 checks passed
@Ivansss Ivansss deleted the file-preview-fixes branch November 6, 2023 22:58
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.

Preview in contextmenu sometimes breaks
2 participants