Skip to content

Commit

Permalink
fixed flickering bug to another position when zooming
Browse files Browse the repository at this point in the history
  • Loading branch information
Viven committed Jan 20, 2017
1 parent e8bb7be commit f2f3be8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ public boolean onDispatchTouchEvent(MotionEvent ev) {
}

// placeholderView takes the place of zoomableView temporarily
parentOfZoomableView.addView(placeholderView, zoomableViewLP.width,
zoomableViewLP.height);
parentOfZoomableView.addView(placeholderView, zoomableViewLP);

// zoomableView has to be removed from parent view before being added to it's
// new parent
Expand Down

0 comments on commit f2f3be8

Please sign in to comment.