Code Monkey home page Code Monkey logo

Comments (10)

hannesa2 avatar hannesa2 commented on August 15, 2024

It looks like that it's related to #329

To be honest, it's a community project and I'm happy to merge any pull request

from touchimageview.

bartek-wesolowski avatar bartek-wesolowski commented on August 15, 2024

This change might have caused the problem.

from touchimageview.

hannesa2 avatar hannesa2 commented on August 15, 2024

This change and #329 are the same 😁

But how to proceed ? I've no clue. @SimFG do you have an idea ?

from touchimageview.

bartek-wesolowski avatar bartek-wesolowski commented on August 15, 2024

You can use an image like the one below to test it. When I call setZoom(3f, 0.75f, 0.75f) I'd expect the focus to be on C7, and right now it's not there. Before the change it was working fine.

test_grid

from touchimageview.

bartek-wesolowski avatar bartek-wesolowski commented on August 15, 2024

TouchImageView comparison

from touchimageview.

hannesa2 avatar hannesa2 commented on August 15, 2024

PR #509 doesn't fix the issue, but it helps hopefully later to find a solution with a test for zoom behavior.
At the bottom of the job you'll find Touch-Screenshots and here you'll find

image

This is the current situation. And at least it's a baseground

image

from touchimageview.

bartek-wesolowski avatar bartek-wesolowski commented on August 15, 2024

I think that the changes made in #329 should be reverted because the formula is incorrect. Isn't the situation described in #329 (comment) a feature and not a bug? If we focus on point 0,0, don't we expect the image to be moved down like that? If not, shouldn't we adjust getFixTrans() instead of setZoom()? I started working on it a bit, but I'm going on vacation tomorrow and won't have access to my computer for a week.

from touchimageview.

bartek-wesolowski avatar bartek-wesolowski commented on August 15, 2024

BTW, using Paparazzi for screenshot tests would be nice.

from touchimageview.

hannesa2 avatar hannesa2 commented on August 15, 2024

I started working on it a bit, but I'm going on vacation tomorrow and won't have access to my computer for a week.

I would love to see some outcome in the future !

from touchimageview.

hannesa2 avatar hannesa2 commented on August 15, 2024

closed with #514

from touchimageview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.