Mercurial > hg > svgui
comparison view/Pane.cpp @ 875:0e674f1bbf08 tonioni
(Very slowly) perform local reanalysis when dragging a note up or down
author | Chris Cannam |
---|---|
date | Tue, 11 Nov 2014 14:11:07 +0000 |
parents | 9855fc0927af |
children | 4968bbaf1ed8 |
comparison
equal
deleted
inserted
replaced
874:7a80fa6a6dfc | 875:0e674f1bbf08 |
---|---|
1738 | 1738 |
1739 } else { | 1739 } else { |
1740 | 1740 |
1741 if (!editSelectionDrag(e)) { | 1741 if (!editSelectionDrag(e)) { |
1742 | 1742 |
1743 Layer *layer = getInteractionLayer(); | 1743 Layer *layer = getTopFlexiNoteLayer(); |
1744 | 1744 |
1745 if (layer && layer->isLayerEditable()) { | 1745 if (layer) { |
1746 | 1746 |
1747 int x = e->x(); | 1747 int x = e->x(); |
1748 int y = e->y(); | 1748 int y = e->y(); |
1749 if (m_dragMode == VerticalDrag) x = m_clickPos.x(); | 1749 if (m_dragMode == VerticalDrag) x = m_clickPos.x(); |
1750 else if (m_dragMode == HorizontalDrag) y = m_clickPos.y(); | 1750 else if (m_dragMode == HorizontalDrag) y = m_clickPos.y(); |