Comments (10)
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.
This change might have caused the problem.
from touchimageview.
This change and #329 are the same 😁
But how to proceed ? I've no clue. @SimFG do you have an idea ?
from touchimageview.
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.
from touchimageview.
from touchimageview.
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
This is the current situation. And at least it's a baseground
from touchimageview.
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.
BTW, using Paparazzi for screenshot tests would be nice.
from touchimageview.
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.
closed with #514
from touchimageview.
Related Issues (20)
- Cannot resolve class com.ortiz.touchview.TouchImageView HOT 4
- How to override double tap event? HOT 2
- Failed to resolve: com.github.MikeOrtiz:TouchImageView:3.1.1 HOT 1
- it cannot find the library HOT 1
- Dependency Version HOT 1
- IllegalArgumentException HOT 2
- Version 2.3.3 not available anymore on JitPack HOT 3
- Panning to border not possible when zoomed in on multiple TouchImageViews HOT 4
- The TouchImageView is not correctly wrapped vertically when wrap content is used. HOT 5
- I don't know how this app will work HOT 2
- Free move HOT 1
- Crashing with 3.1.1: Parameter specified as non-null is null HOT 5
- OnFling listener not working HOT 1
- adjustViewBounds = true not work HOT 1
- Feature: reset zoom when user release them finger
- Calling setZoomAnimated() twice with the same point causes a glitch HOT 1
- Feature request: disable double tap
- Feature requested : detect swipe to bottom HOT 1
- [BUG] Crash in GestureListener.onFling HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from touchimageview.