Skip to content

Scaling now works correctly in the new windows (fix #33) #40

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

Merged
merged 3 commits into from
Feb 26, 2024

Conversation

Mideks
Copy link
Contributor

@Mideks Mideks commented Feb 26, 2024

Fixed #33
I added a subscription to the new window creation event and moved the registration of all zoom events to a separate method so that images in new windows can be zoomed in as well

@Mideks Mideks changed the title Fix #33. Scaling now works correctly in the new windows Scaling now works correctly in the new windows (#33) Feb 26, 2024
@Mideks Mideks changed the title Scaling now works correctly in the new windows (#33) Scaling now works correctly in the new windows (fix #33) Feb 26, 2024
Also made the currentWindow in onunload optional, as Obsidian expects a parameterless unload method. By default it now unloads for the main obsidian window.
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.

Doesn't work in notes that are on seperate window
2 participants