mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +01:00
Element editor improve pinch to zoom
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3535 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -119,7 +119,6 @@ void ElementView::zoomOut() {
|
|||||||
*/
|
*/
|
||||||
void ElementView::zoomInSlowly() {
|
void ElementView::zoomInSlowly() {
|
||||||
scale(1.02, 1.02);
|
scale(1.02, 1.02);
|
||||||
adjustSceneRect();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -127,7 +126,6 @@ void ElementView::zoomInSlowly() {
|
|||||||
*/
|
*/
|
||||||
void ElementView::zoomOutSlowly() {
|
void ElementView::zoomOutSlowly() {
|
||||||
scale(0.98, 0.98);
|
scale(0.98, 0.98);
|
||||||
adjustSceneRect();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user