summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIan MacArthur <imacarthur@gmail.com>2014-06-06 12:30:38 +0000
committerIan MacArthur <imacarthur@gmail.com>2014-06-06 12:30:38 +0000
commit63b5ee9ef18982811a7a0bf5b973ad730de5fe00 (patch)
treeb9bb05be08d51979e42b29953668782097a4e51a /test
parent547570fca647a37c3b3538cee4789e0d4f7da688 (diff)
Tweak fracviewer.cxx to ignore mousewheel inputs,
which were confusing it and making it sometimes unresponsive to mouse left or middle button drag inputs... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10184 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/fracviewer.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fracviewer.cxx b/test/fracviewer.cxx
index bc45cc045..e19fd568c 100644
--- a/test/fracviewer.cxx
+++ b/test/fracviewer.cxx
@@ -331,6 +331,7 @@ void agvSwitchMoveMode(int move)
void agvHandleButton(int button, int state, int x, int y)
{
+ if (button > GLUT_RIGHT_BUTTON)return;
if (state == GLUT_DOWN && downb == -1) {
lastx = downx = x;
lasty = downy = y;