Know bugs fixed.
[lichviet] / qml / LichViet / main.qml
index 805f0a0..bf570b4 100644 (file)
@@ -65,7 +65,8 @@ Item {
 
          state:"jumptodate"
          Image {
-             source: theme_manager.theme.background_image; fillMode: Image.Stretch; anchors.fill: parent; opacity: 0.3
+             source: theme_manager.theme.background_image; fillMode: Image.Stretch; anchors.fill: parent
+             opacity: theme_manager.theme.background_opacity
          }
 
 
@@ -160,9 +161,9 @@ Item {
                           delegate: delegate
                           pathItemCount: 3
                           clip: true
+                          Keys.onLeftPressed: decrementCurrentIndex()
+                          Keys.onRightPressed: incrementCurrentIndex()
                           highlightMoveDuration:500
-                          Keys.onDownPressed: if (!moving && interactive) incrementCurrentIndex()
-                          Keys.onUpPressed: if (!moving && interactive) decrementCurrentIndex()
                           preferredHighlightBegin: 0.5
                           preferredHighlightEnd: 0.5
                           highlightRangeMode: PathView.StrictlyEnforceRange
@@ -181,7 +182,9 @@ Item {
                               startY: 50
                               PathLine {x: reelx.width; y: 50}
                           }
-                          onFlickEnded : {
+
+                          onMovementStarted:{
+
                           }
 
                           onMovementEnded: {