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

[Feature Suggestion] Zoom to top of current artboard #18

Open
rbaud opened this issue Jan 3, 2018 · 2 comments
Open

[Feature Suggestion] Zoom to top of current artboard #18

rbaud opened this issue Jan 3, 2018 · 2 comments

Comments

@rbaud
Copy link

rbaud commented Jan 3, 2018

Hey there, Mikko!

Thanks so much for making this great little plugin. It's pretty close to a "quality of life" feature I've been hunting for, which is a way to quickly jump to the top of the current artboard at 100%/actual pixels.

In my local version, I made a couple of minor changes to your code to add that feature, and I just wanted to share the idea in case you're interested in adding this functionality to the plugin.

Simply, I changed the centerY and targetRect.origin.y calculations on lines on lines 89 and 94 to use the targetRect.origin.y value without modification. Pretty rudimentary, but it does the job!

@Arkkimaagi
Copy link
Owner

Thanks for the suggestion. I have been thinking about having some sort of an settings dialog so that you could adjust the percentage and maybe location too. Saving the data should be possible, but I have not looked into it yet further.

@AntonTrollback
Copy link

+1 ! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants