A more intuitive way to snap to 100% zoom #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Could you please add a button next to the "Image" button to quickly reset the zoom level to 100%? Here's why:
Currently, when reopening an SVG file with a large canvas, the default full-view display of handwritten content is excellent—it helps users quickly locate areas of interest, and I really appreciate this feature. However, this creates an issue when adding new strokes: the fresh ink appears significantly thicker than the original handwriting. Manually adjusting the zoom level to match the original stroke width is quite challenging without a reference point. A dedicated 100% zoom button would solve this problem perfectly. Thank you!
In fact, this zoom display in the "Pan" option can be displayed in the top right corner of the tool strip.
I was thinking about this, my idea was adding a "always open at 100% zoom" as a part of the "plugin settings" menu I will eventually have to create (it will also include default options for new drawings, like the default background color and enable grid).
Do you think it would suffice? Personally, I dislike crowding the drawing interface if not needed, and in this case clicking "Reset view" (which brings the zoom to 100%) does not take many clicks.
The long-term plan is also saving the viewport location as part of the image, so that when opening a drawing, the zoom and position are automatically set as the last time you were editing it. I think it's the best solution, but it requires some work because the js-draw editor doesn't support this natively (yet?)
I think the zoom feature is frequently used during editing, so the "Reset view" option would still be quite handy.
As for the initial view when opening a file, I prefer the current "fit-to-screen" display—most of the time, I don’t remember the exact details of the image, so I need to see the whole thing first, locate the specific part I want to work on, then zoom to 100% before making changes.
Would it be possible to make double-clicking the hand tool or the page layout button trigger a 100% zoom? That way, we wouldn’t need an extra button.
Alternatively, we could automatically snap to 100% zoom when the scaling falls between 90%-110%, making it effortless to reach perfect zoom with simple finger adjustments.
when the zoom level hits 100%, we could display a indicator to let users know they've reached the 100% scale—no further adjustment needed.
Add a dedicated "100% Zoom" buttonto A more intuitive way to snap to 100% zoom@massivebox wrote in #6 (comment):
This has been implemented in
764f9fe5a4
and will be included in the next release.I have confirmed that there are ways to do zoom snapping, so I will implement it in a future version.