acerbetti / ACEDrawingView

An open source iOS component to create a drawing app
Apache License 2.0
665 stars 171 forks source link

fix cache image displacement with ACEDrawingModeScale #100

Closed hezhk3 closed 5 years ago

hezhk3 commented 5 years ago

If view's size is changed after loading image(for example, you load image at viewDidLoad, then it's frame is updated by auto layout), the cache image will be drawn at CGPointZero, which leads to cache image displacement.

acerbetti commented 5 years ago

thanks