Fix bug in ZoomtoFit.
This commit is contained in:
1 parent
9ca10be148
commit
4d380e6930
3 files changed
+11
-3
No files matched your search
@@ -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 );
|
||||
|
||||
Reference in new issue
Block a user