Fix minor bugs related to zoom functions. Zoom relative to mouse position can now be performed without strange jumps on image.

This commit is contained in:
Luis Lucas committed 2014-04-06 01:08:35 +01:00
1 parent 3754caa865
commit 02b2bfac43
3 files changed
+26 -12

No files matched your search

+1 -1
View File
@@ -438,7 +438,7 @@ void plaYUVerApp::scaleFrame( int ratio )
{
if( activeSubWindow() )
{
activeSubWindow()->scaleViewFactor( ( Double )( ratio ) / 100.0 );
activeSubWindow()->scaleViewByRatio( ( Double )( ratio ) / 100.0 );
// actionZoomIn->setEnabled( activeSubWindow()->getScaleFactor() < 3.0 );
// actionZoomOut->setEnabled( activeSubWindow()->getScaleFactor() > 0.333 );