Remove invalid calls to EnableVisual from Button 58/194458/3
authorKimmo Hoikka <kimmo.hoikka@samsung.com>
Tue, 4 Dec 2018 17:36:37 +0000 (17:36 +0000)
committerKimmo Hoikka <kimmo.hoikka@samsung.com>
Wed, 5 Dec 2018 14:08:10 +0000 (14:08 +0000)
button was causing lots of LOG_WARNING due to enabling visuals unnecessarily
- reduced complexity by removing function pointer usage
- fix the value passed into register visual so that they are correctly enabled
- added a check to test that a visual exists before enabling it (not ideal but nicer than warnings)
- remove redundant RelayoutRequest calls from SetProperty

Change-Id: I45e1deda22e13446d488d74d990ccf96f77e9eb0


No differences found