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:
1 parent
3754caa865
commit
02b2bfac43
3 files changed
+26
-12
No files matched your search
@@ -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 );
|
||||
|
||||
Reference in new issue
Block a user