exyte / Macaw

Powerful and easy-to-use vector graphics Swift library with SVG support
MIT License
6.01k stars 553 forks source link

Horizontal scroll MacawView #749

Closed L-v-o closed 3 years ago

L-v-o commented 3 years ago

Hi! I made my map from MacawView.

private lazy var svgView: Macaw.MacawView = { let macawView = Macaw.MacawView() macawView.zoom.enable() macawView.contentMode = .scaleAspectFit return macawView }()

As you can see i turned zoom on. But there is a strange behaviour. Verticall scroll works perfect, but horizontal dont. When i try make a horizontal scroll, scroll stops at all. I think it stops cuz of some of diagonal scroll intentions, but made horizontal scroll almost unusable. what am i doin wrong? thx