Fix max and min zoom factor. Main window zoom buttons are always enabled.
This commit is contained in:
1 parent
fc00a73144
commit
15382e8a6e
5 files changed
+24
-15
No files matched your search
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user