diff options
author | Richard Huang <r.huang@samsung.com> | 2020-08-25 10:34:50 +0100 |
---|---|---|
committer | Richard Huang <r.huang@samsung.com> | 2020-08-25 10:35:03 +0100 |
commit | 6d69b52359f4a6ccaea9c9c517b09684081052f0 (patch) | |
tree | dc5529b4b3dca13d78836b713b82cb7f469c7746 /examples/progress-bar | |
parent | 3f7382d5b648974e4d3f9f6db2f3ce14fb01885b (diff) | |
download | dali-demo-6d69b52359f4a6ccaea9c9c517b09684081052f0.tar.gz dali-demo-6d69b52359f4a6ccaea9c9c517b09684081052f0.tar.bz2 dali-demo-6d69b52359f4a6ccaea9c9c517b09684081052f0.zip |
KeyEvent class pimpling
Change-Id: I9911157a22a5fc941c7fd2d5aff838131f328dd1
Diffstat (limited to 'examples/progress-bar')
-rw-r--r-- | examples/progress-bar/progress-bar-example.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/progress-bar/progress-bar-example.cpp b/examples/progress-bar/progress-bar-example.cpp index 13647904..60433e15 100644 --- a/examples/progress-bar/progress-bar-example.cpp +++ b/examples/progress-bar/progress-bar-example.cpp @@ -234,7 +234,7 @@ private: } 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 ) ) { |