diff options
| author | Tim Redfern <redfernt@gmail.com> | 2023-09-22 00:23:14 +0100 |
|---|---|---|
| committer | Tim Redfern <redfernt@gmail.com> | 2023-09-22 00:23:14 +0100 |
| commit | 22c0d9bf8339d9c6e667bafd3b12baa867f8a29b (patch) | |
| tree | 72f2302d742e2794414250d815b63bc7b8668c5d /futuregael/src/ofApp.cpp | |
| parent | cde8fab86a40be5d3c99bfd2d97605638647179f (diff) | |
fixed some bugs
Diffstat (limited to 'futuregael/src/ofApp.cpp')
| -rw-r--r-- | futuregael/src/ofApp.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/futuregael/src/ofApp.cpp b/futuregael/src/ofApp.cpp index 3fb103b..86e6b4b 100644 --- a/futuregael/src/ofApp.cpp +++ b/futuregael/src/ofApp.cpp @@ -100,10 +100,12 @@ void ofApp::keyPressed(ofKeyEventArgs &args){ //-------------------------------------------------------------- void ofApp::keyReleased(int key){ switch(key){ - case OF_KEY_UP:{ + case OF_KEY_LEFT:{ + show.previous(); break; } - case OF_KEY_DOWN:{ + case OF_KEY_RIGHT:{ + show.next(); break; } case ' ':{ |
