longitachi / ZLPhotoBrowser

Wechat-like image picker. Support select photos, videos, gif and livePhoto. Support edit image and crop video. 微信样式的图片选择器,支持预览/相册内拍照及录视频、拖拽/滑动选择,编辑图片/视频,支持多语言国际化等功能;
MIT License
4.77k stars 966 forks source link

Adding Image/Text sticker on a rotated photo changes it's location after doing another rotation. #854

Closed patryk-sredzinski closed 1 year ago

patryk-sredzinski commented 1 year ago

Issue Description

If you will rotate a photo after adding text or image stickers (that were previously added on a rotated photo) the position will be invalid.

Description and Steps

  1. Enter Photo Editing
  2. Rotate photo 90 degrees
  3. Add a text sticker somewhere
  4. Rotate photo another 90 degrees
  5. Observe position is invalid

https://github.com/longitachi/ZLPhotoBrowser/assets/23390884/e7b1a777-8851-42e5-b037-a213a8f26618