fixed ctrl+mousewheel zooming in on piano roll
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1922 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -2761,7 +2761,7 @@ void pianoRoll::resizeEvent( QResizeEvent * )
|
||||
void pianoRoll::wheelEvent( QWheelEvent * _we )
|
||||
{
|
||||
_we->accept();
|
||||
if( engine::getMainWindow()->isCtrlPressed() == true )
|
||||
if( _we->modifiers() & Qt::ControlModifier )
|
||||
{
|
||||
if( _we->delta() > 0 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user