From 22c0d9bf8339d9c6e667bafd3b12baa867f8a29b Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Fri, 22 Sep 2023 00:23:14 +0100 Subject: fixed some bugs --- futuregael/src/ofApp.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'futuregael/src/ofApp.cpp') 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 ' ':{ -- cgit v1.2.3