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:
Luis Lucas committed 2014-04-06 01:08:35 +01:00
1 parent 3754caa865
commit 02b2bfac43
3 files changed
+26 -12

No files matched your search

+2 -2
View File
@@ -131,8 +131,7 @@ public:
*/
Void scaleView( const QSize & size );
Void scaleViewFactor( Double factor );
Void scaleViewByRatio( Double ratio );
Double getScaleFactor()
{
return m_cViewArea->getZoomFactor();
@@ -156,6 +155,7 @@ protected:
public Q_SLOTS:
void adjustScrollBarByZoom( double factor , QPoint center );
void adjustScrollBarByOffset( QPoint Offset );
void updateLastScrollValue( );
};
} // NAMESPACE