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

remove condition which is always true, remove loop to prevent jumping #52

Merged
merged 2 commits into from
Nov 10, 2023

Conversation

ypislon
Copy link

@ypislon ypislon commented Nov 8, 2023

Reverts #44.

Should fix #47 and #50.

After the update of Obsidian which introduces properties, the files are not opened on top of the document anymore. Figuring out when the document is opened at the top has become more tricky. Therefore I removed the check for the scroll position and added a delay before restoring the previous position. I did some quick testing only, but it seems like this is working fine to restore the scroll position without jumping back and forth.

@dy-sh dy-sh merged commit a9a2179 into dy-sh:master Nov 10, 2023
@dy-sh
Copy link
Owner

dy-sh commented Nov 10, 2023

Thank you!

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.

Twitching behaviour since last update
2 participants