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

Add panzoom functionality #48

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

JDysiewicz
Copy link

Added support for basic panzoom via ctrl+mousewheel for parity with d2playground website.

Related issue: #33

(This builds off of work done in PR #47 which was abandoned due to lack of time from the contributor).

d2-obsidian-zoom.mp4

@JDysiewicz JDysiewicz changed the title Add panzoom functionality - #33 Add panzoom functionality Jun 6, 2024
@JDysiewicz JDysiewicz marked this pull request as ready for review June 6, 2024 22:02
@JDysiewicz
Copy link
Author

@gavin-ts Mind giving this a look? Sorry unsure of the PR process for this repo.

@i-am-the-slime
Copy link

@JDysiewicz do you know of a way to use a fork in obsidian?

@JDysiewicz
Copy link
Author

JDysiewicz commented Aug 28, 2024

@JDysiewicz do you know of a way to use a fork in obsidian?

Yeah, you can install the plugin in your obsidian vault as normal, then replace with a locally built version. Clone the fork you want, build it locally (yarn run build) and then copy the resulting main.js, styles.css, manifest.json over to your plugins directory for your vault. That's at VAULT_FOLDER/.obsidian/plugins/d2-obsidian.

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