Ensure ImageView updates mVisual once ready/loaded 28/141828/4
authorAgnelo Vaz <agnelo.vaz@samsung.com>
Tue, 1 Aug 2017 13:35:38 +0000 (14:35 +0100)
committerAgnelo Vaz <agnelo.vaz@samsung.com>
Thu, 3 Aug 2017 16:07:18 +0000 (17:07 +0100)
commit73b96a6e5f5ba470ff29c94c15256f68d3521a5c
tree0b72658a769ec804871431e53893c748e270668b
parenta046c21262ef124f23ecd70dd99348294872cc23
Ensure ImageView updates mVisual once ready/loaded

Previously mVisual was only updated after OnRelayout but this is too late,
RelayoutRequest triggers GetNaturalSize before OnRelayout, GetNaturalSize needs mVisual to be the updated visual not the previous.

Change-Id: Ib0e46af88774d866a5f6074e43437f0b173bf0f6
dali-toolkit/internal/controls/image-view/image-view-impl.cpp