summaryrefslogtreecommitdiff
path: root/builder
diff options
context:
space:
mode:
authorRichard Huang <r.huang@samsung.com>2020-08-25 10:34:50 +0100
committerRichard Huang <r.huang@samsung.com>2020-08-25 10:35:03 +0100
commit6d69b52359f4a6ccaea9c9c517b09684081052f0 (patch)
treedc5529b4b3dca13d78836b713b82cb7f469c7746 /builder
parent3f7382d5b648974e4d3f9f6db2f3ce14fb01885b (diff)
downloaddali-demo-6d69b52359f4a6ccaea9c9c517b09684081052f0.tar.gz
dali-demo-6d69b52359f4a6ccaea9c9c517b09684081052f0.tar.bz2
dali-demo-6d69b52359f4a6ccaea9c9c517b09684081052f0.zip
KeyEvent class pimpling
Change-Id: I9911157a22a5fc941c7fd2d5aff838131f328dd1
Diffstat (limited to 'builder')
-rw-r--r--builder/dali-builder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/dali-builder.cpp b/builder/dali-builder.cpp
index 0f9d5bf7..2ffdaaa4 100644
--- a/builder/dali-builder.cpp
+++ b/builder/dali-builder.cpp
@@ -280,7 +280,7 @@ private:
// Process Key events to Quit on back-key
void OnKeyEvent( const KeyEvent& event )
{
- if( event.state == KeyEvent::Down )
+ if( event.GetState() == KeyEvent::Down )
{
if( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) )
{