Fix bug in ZoomtoFit.

This commit is contained in:
Luis Lucas committed 2014-03-29 21:25:30 +00:00
1 parent 9ca10be148
commit 4d380e6930
3 files changed
+11 -3

No files matched your search

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