comparison view/Pane.cpp @ 785:488add397d34 tonioni

added vertical strip stripes to beginning and end of illuminated note
author matthiasm
date Wed, 11 Jun 2014 21:43:38 +0100
parents 410816717c2c
children 7555b8b17e6e
comparison
equal deleted inserted replaced
784:3a52b458fcd5 785:488add397d34
1588 // GF: Propagate the event to FlexiNoteLayer. I somehow feel it's best handeled there rather than here, but perhaps not if this will be needed elsewhere too. 1588 // GF: Propagate the event to FlexiNoteLayer. I somehow feel it's best handeled there rather than here, but perhaps not if this will be needed elsewhere too.
1589 if (mode == ViewManager::NoteEditMode) { 1589 if (mode == ViewManager::NoteEditMode) {
1590 FlexiNoteLayer *layer = qobject_cast<FlexiNoteLayer *>(getTopFlexiNoteLayer()); 1590 FlexiNoteLayer *layer = qobject_cast<FlexiNoteLayer *>(getTopFlexiNoteLayer());
1591 if (layer) { 1591 if (layer) {
1592 layer->mouseMoveEvent(this, e); //!!! ew 1592 layer->mouseMoveEvent(this, e); //!!! ew
1593 return; 1593 update();
1594 // return;
1594 } 1595 }
1595 } 1596 }
1596 1597
1597 if (mode == ViewManager::SelectMode && hasTopLayerTimeXAxis()) { 1598 if (mode == ViewManager::SelectMode && hasTopLayerTimeXAxis()) {
1598 bool closeToLeft = false, closeToRight = false; 1599 bool closeToLeft = false, closeToRight = false;