-
Notifications
You must be signed in to change notification settings - Fork 5
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
Failed in canvas #37
Comments
This is currently not supported and I currently do not have the resources to implement it. I will leave the issue open in the case someone wants to work on it. |
@nicojeske But I originally understood this problem as "there are pictures on the canvas and you can't resize them with the wheel like in md files" Do you think my implementation is appropriate in your plugin? |
I am also not sure what behaviour @dongzhonghua means. But currently both, zooming a directly embedded image in a canvas and zooming an image embedded in an md file that is embedded in the canvas, are not implemented. Feel free to work on any of those two features if you want to, I will gladly merge your PR if you find a way to implement this. |
@nicojeske By the way, do you think resizing should only work for pictures, or for any type of node, like videos, sounds, pdf, texts or even md files? |
By the way, I opened #47 for the reason that it will not be possible to use Shift (because of horizontal scrolling) and Ctrl (because of canvas zooming) modifiers normally on canvas. So maybe it would be a good idea to enable scroll lock only when the cursor is over an element? (something like hover event) |
- Enable proportional scaling of all media attachments (images, videos, audio, PDFs), text blocks, and even Markdown files on the canvas using modifier key + mouse wheel, provided that these elements are not selected or focused for editing. - Introduce the ability to undo node scaling via ctrl+z, as if you were undoing the scaling action performed with the mouse. Note: Due to ongoing issue nicojeske#47, normal scaling is temporarily restricted to use with the Alt key. Related to: nicojeske#37
Implemented as of #48 in 1.0.22 |
obsidian version: v1.5.3
platform: mac
failed on canvas file
The text was updated successfully, but these errors were encountered: