mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-28 09:19:25 +01:00
The part of a composed slide that pan and zoom moves came from the crop's aspect. The composer lays the photo out at its render's size in whole pixels, at least 1 px a side, so for a very narrow or wide crop the two differ: at aspect 0.001 the crop's aspect gave the whole image cell while the photo was a 1 px strip, and the backdrop in the cell moved with it. A slide job's result now records the size of the photo's render it was composed from (RenderResult::slide_photo, also set by the web build's render workers), the slide's texture keeps it, and moving_part lays the slide out with that size.