diff options
author | György Straub <g.straub@partner.samsung.com> | 2020-08-27 09:28:33 +0100 |
---|---|---|
committer | György Straub <g.straub@partner.samsung.com> | 2020-08-27 15:28:54 +0100 |
commit | e3080a83ec85e14ec8cbf82831fd73b152c6e86a (patch) | |
tree | b7a3a9c5a874f34a833d51060e784982e07565bf /examples/bezier-curve | |
parent | 697a682afc7ff5a0078843ec2cb61ac2c00f2e90 (diff) | |
download | dali-demo-e3080a83ec85e14ec8cbf82831fd73b152c6e86a.tar.gz dali-demo-e3080a83ec85e14ec8cbf82831fd73b152c6e86a.tar.bz2 dali-demo-e3080a83ec85e14ec8cbf82831fd73b152c6e86a.zip |
Renamed KeyEvent enum values to comply with coding standards.
Change-Id: I1152c0c48795f8972f2b4ee2fc50b0c04140a322
Signed-off-by: György Straub <g.straub@partner.samsung.com>
Diffstat (limited to 'examples/bezier-curve')
-rw-r--r-- | examples/bezier-curve/bezier-curve-example.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bezier-curve/bezier-curve-example.cpp b/examples/bezier-curve/bezier-curve-example.cpp index 27721118..d92bab97 100644 --- a/examples/bezier-curve/bezier-curve-example.cpp +++ b/examples/bezier-curve/bezier-curve-example.cpp @@ -573,7 +573,7 @@ public: void OnKeyEvent(const KeyEvent& event) { - if( event.GetState() == KeyEvent::Down && (IsKey( event, DALI_KEY_ESCAPE) || IsKey( event, DALI_KEY_BACK )) ) + if( event.GetState() == KeyEvent::DOWN && (IsKey( event, DALI_KEY_ESCAPE) || IsKey( event, DALI_KEY_BACK )) ) { mApplication.Quit(); } |