Skip to content

Commit

Permalink
fix hanging mouse in automation & pianoroll (LMMS#4822)
Browse files Browse the repository at this point in the history
removed TODO comment that I forgot in the code
  • Loading branch information
sharpblade4 authored Apr 30, 2019
1 parent 8a02116 commit 9ccbe35
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/gui/editors/AutomationEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,6 @@ void AutomationEditor::paintEvent(QPaintEvent * pe )
case SELECT: cursor = s_toolSelect; break;
case MOVE: cursor = s_toolMove; break;
}
// TODO RON copy all if, replace the top left etc
QPoint mousePosition = mapFromGlobal( QCursor::pos() );
if( cursor != NULL && mousePosition.y() > TOP_MARGIN + SCROLLBAR_SIZE)
{
Expand Down

0 comments on commit 9ccbe35

Please sign in to comment.