Fix max and min zoom factor. Main window zoom buttons are always enabled.

This commit is contained in:
Luis Lucas committed 2014-03-23 19:30:43 +00:00
1 parent fc00a73144
commit 15382e8a6e
5 files changed
+24 -15

No files matched your search

+2 -2
View File
@@ -222,8 +222,8 @@ void plaYUVerApp::scaleFrame( int ratio )
{
activeSubWindow()->scaleView( ( Double )( ratio ) / 100.0 );
actionZoomIn->setEnabled( activeSubWindow()->getScaleFactor() < 3.0 );
actionZoomOut->setEnabled( activeSubWindow()->getScaleFactor() > 0.333 );
// actionZoomIn->setEnabled( activeSubWindow()->getScaleFactor() < 3.0 );
// actionZoomOut->setEnabled( activeSubWindow()->getScaleFactor() > 0.333 );
}
}