comparison view/ViewManager.cpp @ 1057:218be6cf2d4f spectrogram-minor-refactor

Merge from default branch
author Chris Cannam
date Mon, 13 Jun 2016 12:46:36 +0100
parents f2c63ec85901
children e0ac21f07ab0
comparison
equal deleted inserted replaced
1040:25b035362c44 1057:218be6cf2d4f
739 int scaled = int(pixels * ratio + 0.5); 739 int scaled = int(pixels * ratio + 0.5);
740 // cerr << "scaledSize: " << pixels << " -> " << scaled << " at ratio " << ratio << endl; 740 // cerr << "scaledSize: " << pixels << " -> " << scaled << " at ratio " << ratio << endl;
741 if (pixels != 0 && scaled == 0) scaled = 1; 741 if (pixels != 0 && scaled == 0) scaled = 1;
742 return scaled; 742 return scaled;
743 } 743 }
744