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

Prevent preview flicker when directories are reloaded #1697

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Prevent preview flicker when directories are reloaded #1697

merged 1 commit into from
Jun 17, 2024

Conversation

joelim-work
Copy link
Collaborator

It's still necessary to call app.ui.loadFile when a directory is modified and subsequently reloaded, for example if the file currently under the cursor is being deleted (results in selecting the next file). But I think it's not necessary if the current file doesn't change, otherwise this will cause image previews to flicker.

@joelim-work joelim-work merged commit 73030b5 into gokcehan:master Jun 17, 2024
4 checks passed
@joelim-work joelim-work deleted the dirchan-preview-flicker branch June 17, 2024 09:28
@joelim-work joelim-work added the fix Pull requests that fix existing behavior label Jun 24, 2024
@joelim-work joelim-work added this to the r33 milestone Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull requests that fix existing behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant