From 9f2d9fde1c38d761329b172364734a7c1c3c233f Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Sun, 7 Feb 2016 12:49:07 +0100 Subject: [PATCH] Remove key listeners from `UserInterface` because they should be in `Application` --- src/UserInterface/ProjectionEditor.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/UserInterface/ProjectionEditor.cpp b/src/UserInterface/ProjectionEditor.cpp index d26b849..2d2c75c 100644 --- a/src/UserInterface/ProjectionEditor.cpp +++ b/src/UserInterface/ProjectionEditor.cpp @@ -124,6 +124,7 @@ void ProjectionEditor::mouseDragged(ofMouseEventArgs & args){ } void ProjectionEditor::keyPressed(ofKeyEventArgs & args){ + /* int key = args.key; float moveStep; @@ -154,15 +155,18 @@ void ProjectionEditor::keyPressed(ofKeyEventArgs & args){ bShiftKeyDown = true; break; } + */ } void ProjectionEditor::keyReleased(ofKeyEventArgs & args){ + /* int key = args.key; switch(key){ case OF_KEY_SHIFT: bShiftKeyDown = false; break; } + */ } void ProjectionEditor::gotMessage(ofMessage & msg){