diff options
author | Tero Ahola <tero.ahola@digia.com> | 2012-09-04 10:11:02 +0300 |
---|---|---|
committer | Tero Ahola <tero.ahola@digia.com> | 2012-09-04 10:41:39 +0300 |
commit | 6977ea36a8f1ce930edef340b0b5d23a426ecfef (patch) | |
tree | 3599ec8fbc1dbc68d179f848be382a7adda558f5 /plugins/declarative/declarativechart.cpp | |
parent | 7b92a2c2f2ec10418f282900e45189054405a95e (diff) |
Fixed scrolling left/right mixed up in QML ChartView
Diffstat (limited to 'plugins/declarative/declarativechart.cpp')
-rw-r--r-- | plugins/declarative/declarativechart.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/declarative/declarativechart.cpp b/plugins/declarative/declarativechart.cpp index 218132ac..7fe4b689 100644 --- a/plugins/declarative/declarativechart.cpp +++ b/plugins/declarative/declarativechart.cpp @@ -517,12 +517,12 @@ void DeclarativeChart::zoom(qreal factor) void DeclarativeChart::scrollLeft(qreal pixels) { - m_chart->scroll(pixels, 0); + m_chart->scroll(-pixels, 0); } void DeclarativeChart::scrollRight(qreal pixels) { - m_chart->scroll(-pixels, 0); + m_chart->scroll(pixels, 0); } void DeclarativeChart::scrollUp(qreal pixels) |