ae6f1bb3f7
We should be checking our scaled image height against the allocation height rather than the allocation width. Fixes vertical image motion when horizontal motion restricted, i.e. when window is wide and short compared to the image. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>