Closed DSteve595 closed 10 months ago
https://github.com/saket/telephoto/commit/7d3a13cd6815a09a6a62ad50bee3aeb15a991a26 fixes this partially by making layout previews work for Modifier.zoomable()
. I tried to remove the 1 frame lag as well, but it is slightly involved and may not be worth the effort considering that placeholder images are already displayed without any frame delays.
This breaks static previews, though interactive ones work. Maybe check for
ZoomableContentLocation.SameAsLayoutBounds
, and if present, fallback toScaleFactor(1, 1)
rather thanScaleFactor.Zero
?