-
Notifications
You must be signed in to change notification settings - Fork 9
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
Zoom #9
Comments
a 10 minute job for you add your zoom in out buttons that sets a zoom variable that calls the zoom function To zoom in ..... excuse the very messy code below and the very poor implementation - How would you do it? in img.go I added Zoom int to the Img struct and the functions below func (a *App) zoomImageIn() {
} func (a *App) zoomImageOut() {
} |
Well, I think it's alright. I was working on an implementation too, but I didn't finish it yet. So I took yours and edited a bit and added buttons and keyboard shortcuts for the functions as well as a function to reset the zoom to 100%. (see 3938ac6 for the details) |
ok
sorry mine was a rough job
I would have thought it better to apply the zoom to the edited image?
also the zoom int would be better applied to the image as a % so that it would work the same for big and small images
… On 2021 Apr8, at 21:07, Palexer ***@***.***> wrote:
Well, I think it's alright. I was working on an implementation too, but I didn't finish it yet. So I took yours and edited a bit and added buttons and keyboard shortcuts for the functions as well as a function to reset the zoom to 100%. (see 3938ac6 <3938ac6> for the details)
I think we can close this issue now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#9 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AD6QUM42GUJBQXNUXG7YL6DTHX5GXANCNFSM4ZX3476A>.
|
It would be great to have a zoom feature with either a slider or a plus and a minus button.
The text was updated successfully, but these errors were encountered: