scihant / CTPanoramaView

A library that displays spherical or cylindrical panoramas with touch or motion based controls.
MIT License
1.04k stars 89 forks source link

Angle is reset when setting an image #49

Closed hardeverick closed 4 years ago

hardeverick commented 4 years ago

When using touch and you set a new image the angle is reset to 0.

I'm trying to play an MJPEG stream of 360 photos and this keeps resetting the angle. You should consider making the reset optional

scihant commented 4 years ago

Fixed this issue in 6e2264c1937bbdc6452026a5e5d75a78de6e2b8c by removing the calls to the reset method and making it public so that it can be called from outside when needed.