X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Ftilt%2Ftilt-example.cpp;h=b7d12f67fda8cd0155dde894564920ee13a52486;hb=c70446e9b125ae8bb236b4cbc3fd3f8b548459cd;hp=c558023c9eb56e182ba43cea579e0e3520172ba7;hpb=6d69b52359f4a6ccaea9c9c517b09684081052f0;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/examples/tilt/tilt-example.cpp b/examples/tilt/tilt-example.cpp index c558023..b7d12f6 100644 --- a/examples/tilt/tilt-example.cpp +++ b/examples/tilt/tilt-example.cpp @@ -97,7 +97,7 @@ public: */ void OnKeyEvent( const KeyEvent& event ) { - if( event.GetState() == KeyEvent::Down ) + if( event.GetState() == KeyEvent::DOWN ) { if ( IsKey( event, Dali::DALI_KEY_ESCAPE ) || IsKey( event, Dali::DALI_KEY_BACK ) ) {