Skip to content

Fixed issue 204: center view gets truncated if user holds finger on the screen during the device rotation.#222

Closed
vkormushkin wants to merge 3 commits into
griddynamics-archive:masterfrom
vkormushkin:master
Closed

Fixed issue 204: center view gets truncated if user holds finger on the screen during the device rotation.#222
vkormushkin wants to merge 3 commits into
griddynamics-archive:masterfrom
vkormushkin:master

Conversation

@vkormushkin

Copy link
Copy Markdown

See #204 for reference

Fix description:
If user holds a finger on screen during device rotation and once rotation is complete moves a finger panGestureCallback uses outdated value of self.startingPanRect and adjusts center view improperly. So i'm suggesting to refresh this value just after the rotation.

@kcharwood kcharwood added this to the 0.5.4 milestone Apr 2, 2014
@kcharwood kcharwood modified the milestones: 0.5.5, 0.5.4 Apr 15, 2014
@kcharwood kcharwood modified the milestones: 0.5.6, 0.5.5 Apr 30, 2014
@kcharwood kcharwood added the bug label May 28, 2014
kcharwood added a commit that referenced this pull request Jun 9, 2014
@kcharwood

Copy link
Copy Markdown
Contributor

Thanks for sending this up. We actually handled this in the past, but it looks like a regression along the way caused it to get out of whack.

I've resolved that in 38e9c2d, and everything should work. Note we don't keep the pan active during that state, but it does UI glitch either.

Thanks!

@kcharwood kcharwood closed this Jun 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants