Open saket opened 1 year ago
telephoto's code for coercing content within its zoomable bounds is incompatible with rotation because it uses the top-left coordinate as its pivot. It'd be great if the pivot can be changed to center to unblock rotation of zoomable content.
telephoto
https://github.com/saket/telephoto/blob/ae0b94b40a9aab50d381585c58f873c03e195fe0/zoomable/src/commonMain/kotlin/me/saket/telephoto/zoomable/ZoomableState.kt#L325
telephoto
's code for coercing content within its zoomable bounds is incompatible with rotation because it uses the top-left coordinate as its pivot. It'd be great if the pivot can be changed to center to unblock rotation of zoomable content.https://github.com/saket/telephoto/blob/ae0b94b40a9aab50d381585c58f873c03e195fe0/zoomable/src/commonMain/kotlin/me/saket/telephoto/zoomable/ZoomableState.kt#L325