comparison view/Pane.cpp @ 1359:e7da9c9635ba

Merge
author Chris Cannam
date Thu, 11 Oct 2018 18:26:45 +0100
parents 93eaff6f206d
children d79e21855aef
comparison
equal deleted inserted replaced
1358:53fe33b00770 1359:e7da9c9635ba
2371 } 2371 }
2372 2372
2373 void 2373 void
2374 Pane::horizontalThumbwheelMoved(int value) 2374 Pane::horizontalThumbwheelMoved(int value)
2375 { 2375 {
2376 cerr << "horizontalThumbwheelMoved(" << value << ")" << endl; 2376 ZoomLevel level = getZoomLevelByIndex(m_hthumb->getMaximumValue() - value);
2377
2378 ZoomLevel level = getZoomLevelByIndex
2379 (m_hthumb->getMaximumValue() - value);
2380
2381 cerr << "new level is " << level << endl;
2382 setZoomLevel(level); 2377 setZoomLevel(level);
2383 } 2378 }
2384 2379
2385 void 2380 void
2386 Pane::verticalThumbwheelMoved(int value) 2381 Pane::verticalThumbwheelMoved(int value)