Mercurial > hg > svgui
comparison view/Pane.cpp @ 727:4eb741d63161 tonioni
checking off show pitch turns off and disables play pitch button
author | Justin Salamon <justin.salamon@nyu.edu> |
---|---|
date | Mon, 24 Feb 2014 17:04:48 -0500 |
parents | 62e7d4b378ae |
children | 596414d20ef0 |
comparison
equal
deleted
inserted
replaced
726:62e7d4b378ae | 727:4eb741d63161 |
---|---|
1469 } | 1469 } |
1470 } | 1470 } |
1471 else if (m_manager && !m_manager->haveInProgressSelection()) { | 1471 else if (m_manager && !m_manager->haveInProgressSelection()) { |
1472 | 1472 |
1473 //cerr << "JTEST: release without selection" << endl; | 1473 //cerr << "JTEST: release without selection" << endl; |
1474 // Get frame locatrion of mouse | 1474 // Get frame location of mouse |
1475 int mouseFrame = getFrameForX(e->x()); | 1475 int mouseFrame = getFrameForX(e->x()); |
1476 //cerr << "JTEST: frame location of click is " << mouseFrame << endl; | 1476 //cerr << "JTEST: frame location of click is " << mouseFrame << endl; |
1477 // Move play head to that frame location | 1477 // Move play head to that frame location |
1478 int playbackFrame = fmax(0,mouseFrame); | 1478 int playbackFrame = fmax(0,mouseFrame); |
1479 m_manager->setPlaybackFrame(playbackFrame); | 1479 m_manager->setPlaybackFrame(playbackFrame); |