comparison view/Pane.cpp @ 879:899c4d7e7e63 cxx11

CXX11 (-std=c++11) branch, to test build environments before making any code adaptations
author Chris Cannam
date Mon, 17 Nov 2014 15:31:07 +0000
parents 241688360929
children 0e674f1bbf08 1fc4f29feb2e
comparison
equal deleted inserted replaced
878:241688360929 879:899c4d7e7e63
2286 // Coarse wheel information (or vertical zoom, which is 2286 // Coarse wheel information (or vertical zoom, which is
2287 // necessarily coarse itself) 2287 // necessarily coarse itself)
2288 2288
2289 // Sometimes on Linux we're seeing absurdly extreme angles on 2289 // Sometimes on Linux we're seeing absurdly extreme angles on
2290 // the first wheel event -- discard those entirely 2290 // the first wheel event -- discard those entirely
2291 if (abs(m_pendingWheelAngle) > 1000) { 2291 if (abs(m_pendingWheelAngle) >= 600) {
2292 m_pendingWheelAngle = 0; 2292 m_pendingWheelAngle = 0;
2293 return; 2293 return;
2294 } 2294 }
2295 2295
2296 while (abs(m_pendingWheelAngle) >= 120) { 2296 while (abs(m_pendingWheelAngle) >= 120) {