Mercurial > hg > svgui
diff widgets/Pane.cpp @ 82:82482231b6b1
* Add file open/save operations to main toolbar
* Allow opening any sort of file from toolbar file open function
* First cut at on-disc cacheing for decoded mp3/ogg files
* Permit un-snapped selection by holding Shift
author | Chris Cannam |
---|---|
date | Thu, 27 Apr 2006 17:29:19 +0000 |
parents | fd348f36c0d3 |
children | 803830f186ef |
line wrap: on
line diff
--- a/widgets/Pane.cpp Thu Apr 27 11:49:34 2006 +0000 +++ b/widgets/Pane.cpp Thu Apr 27 17:29:19 2006 +0000 @@ -525,7 +525,7 @@ int snapFrame = mouseFrame; Layer *layer = getSelectedLayer(); - if (layer) { + if (layer && !m_shiftPressed) { layer->snapToFeatureFrame(this, snapFrame, resolution, Layer::SnapLeft); } @@ -740,7 +740,7 @@ int snapFrameRight = mouseFrame; Layer *layer = getSelectedLayer(); - if (layer) { + if (layer && !m_shiftPressed) { layer->snapToFeatureFrame(this, snapFrameLeft, resolution, Layer::SnapLeft); layer->snapToFeatureFrame(this, snapFrameRight,