Make lower-right corner double tap zoom-out a non-optional feature

This commit is contained in:
GPayne
2018-05-14 15:03:47 -06:00
parent a767c2fd08
commit e31e80d851
2 changed files with 3 additions and 20 deletions
+1 -8
View File
@@ -38,7 +38,6 @@
#include <openspace/properties/vector/vec4property.h>
//#define TOUCH_DEBUG_PROPERTIES
#define ZOOM_CORNER_TAP
namespace openspace {
@@ -69,11 +68,7 @@ public:
TouchInteraction();
// for interpretInteraction()
enum Type { ROT = 0, PINCH, PAN, ROLL, PICK
#ifdef ZOOM_CORNER_TAP
, ZOOM_OUT
#endif
};
enum Type { ROT = 0, PINCH, PAN, ROLL, PICK, ZOOM_OUT };
// Stores the velocity in all 6DOF
struct VelocityStates {
@@ -250,9 +245,7 @@ private:
bool _directTouchMode;
bool _tap;
bool _doubleTap;
#ifdef ZOOM_CORNER_TAP
bool _zoomOutTap;
#endif
bool _lmSuccess;
bool _guiON;
std::vector<SelectedBody> _selected;