Browse Source

Add custom shortcuts for moveLayerUp and Down

master
Krisjanis Rijnieks 8 years ago
parent
commit
c3ca357146
  1. 4
      example-custom-shortcuts/src/ofApp.cpp

4
example-custom-shortcuts/src/ofApp.cpp

@ -48,6 +48,10 @@ void ofApp::keyPressed(int key){
mapper.selectNextVertex();
}else if(key == 'h'){
mapper.selectPrevVertex();
}else if(key == 'i'){
mapper.moveLayerUp();
}else if(key == 'u'){
mapper.moveLayerDown();
}else{
mapper.keyPressed(key);
}

Loading…
Cancel
Save