Mercurial > hg > svgui
diff view/Pane.cpp @ 1266:a34a2a25907c
Untabify
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 18:02:22 +0000 |
parents | a496986aa61b |
children | f2894944c6b8 |
line wrap: on
line diff
--- a/view/Pane.cpp Thu Mar 01 14:43:53 2018 +0000 +++ b/view/Pane.cpp Thu Mar 01 18:02:22 2018 +0000 @@ -1892,11 +1892,11 @@ } double ratio = double(w) / double(width()); -// cerr << "ratio: " << ratio << endl; +// cerr << "ratio: " << ratio << endl; int newZoomLevel = (int)nearbyint(m_zoomLevel * ratio); if (newZoomLevel < 1) newZoomLevel = 1; -// cerr << "start: " << m_startFrame << ", level " << m_zoomLevel << endl; +// cerr << "start: " << m_startFrame << ", level " << m_zoomLevel << endl; setZoomLevel(getZoomConstraintBlockSize(newZoomLevel)); setStartFrame(newStartFrame); @@ -2116,8 +2116,8 @@ layer->snapToFeatureFrame(this, snapFrameRight, resolution, Layer::SnapRight); } - -// cerr << "snap: frame = " << mouseFrame << ", start frame = " << m_selectionStartFrame << ", left = " << snapFrameLeft << ", right = " << snapFrameRight << endl; + +// cerr << "snap: frame = " << mouseFrame << ", start frame = " << m_selectionStartFrame << ", left = " << snapFrameLeft << ", right = " << snapFrameRight << endl; if (snapFrameLeft < 0) snapFrameLeft = 0; if (snapFrameRight < 0) snapFrameRight = 0;