(TextLabel Example) Fixed Pan gesture handling 31/52931/2
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 27 Nov 2015 13:42:12 +0000 (13:42 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 27 Nov 2015 14:13:51 +0000 (14:13 +0000)
commit2d2a58472a7d20b0e25909266af490b2c6336bbd
tree1cc6ada2a2f9993c2b9f368040c5cdc3c9193fc5
parent2d140b9ff28787e609c9d9eb77fe4ce8a20121b8
(TextLabel Example) Fixed Pan gesture handling

Problem:   When we are resizing and go past the minimum size of the container and then release, we have to move
           the distance we moved from the minimum size to the our release point again in order to make the
           container resize again.
Reason:    This was because we kept on changing mLayoutSize but did not reset it when the pan starts.
Solution:  Reset mLayoutSize when the pan starts.

Change-Id: I3ded29691e8f1c405847f971d9a89d50aa448fdf
examples/text-label/text-label-example.cpp