Bind zoom value to slider value
authorMohammed Sameer <msameer@foolab.org>
Mon, 7 Jan 2013 02:53:05 +0000 (04:53 +0200)
committerMohammed Sameer <msameer@foolab.org>
Mon, 7 Jan 2013 02:53:05 +0000 (04:53 +0200)
If we don't do so, zoom will be reset upon the creation of the RecordingPage
Zoom will still be reset when we switch modes anyway because we do that explicitly

qml/ZoomSlider.qml

index 6a59ae2..c735246 100644 (file)
@@ -62,6 +62,7 @@ Slider {
         width: 500
         height: 50
         stepSize:0.1
+        value: camera.zoom.value
         minimumValue: camera.zoom.minimum
         maximumValue: camera.zoom.maximum