projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d209e1
)
Bind zoom value to slider value
author
Mohammed Sameer
<msameer@foolab.org>
Mon, 7 Jan 2013 02:53:05 +0000
(
04:53
+0200)
committer
Mohammed 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
patch
|
blob
|
history
diff --git
a/qml/ZoomSlider.qml
b/qml/ZoomSlider.qml
index
6a59ae2
..
c735246
100644
(file)
--- a/
qml/ZoomSlider.qml
+++ b/
qml/ZoomSlider.qml
@@
-62,6
+62,7
@@
Slider {
width: 500
height: 50
stepSize:0.1
+ value: camera.zoom.value
minimumValue: camera.zoom.minimum
maximumValue: camera.zoom.maximum