[qet] [3286] DiagramView::wheelEvent limit scale for zoom out |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3286
Author: scorpio810
Date: 2014-08-19 01:33:31 +0200 (Tue, 19 Aug 2014)
Log Message:
-----------
DiagramView::wheelEvent limit scale for zoom out
Modified Paths:
--------------
trunk/sources/diagramview.cpp
Modified: trunk/sources/diagramview.cpp
===================================================================
--- trunk/sources/diagramview.cpp 2014-08-18 18:42:03 UTC (rev 3285)
+++ trunk/sources/diagramview.cpp 2014-08-18 23:33:31 UTC (rev 3286)
@@ -590,10 +590,10 @@
if (e->buttons() != Qt::MidButton) {
if (!(e -> modifiers() & Qt::ControlModifier)) {
if (e -> delta() > 0){
- zoomIn();
+ zoomInSlowly();
}
else{
- zoomOut();
+ zoomOutSlowly();
}
}
else {