Baseflow / Baseflow/PhotoView

setDisplayMatrix() does not match previous state after zoom scale and translate

Open
#723 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
18.8k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

I zoom in and translate the photoView,then I saved current DisplayMatrix by
Matrix m = photoView.getDisplayMatrix()

After system configuration changed, the PhotoView re-created, I wish to restore the scale and translate state.

I called photoView.setDisplayMatrix(m), but it does not match before.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.