1.0.2 Bumped version to 1.0.2-4
[lichviet] / qml / DatePicker / component / Reel.qml
index 21b9971..eb1ab26 100644 (file)
@@ -15,7 +15,7 @@ Rectangle {
 
     function open() { focus = true; clip = false }
     function close() { clip = true }
-    function toggle() { clip ? open() : close() }
+
     function shiftZ(obj, delta) {
         if (typeof obj.z != 'undefined') obj.z += delta
         if (obj.parent) shiftZ(obj.parent, delta) // Set z recursively to parent
@@ -28,7 +28,7 @@ Rectangle {
     // Close reel when the focus is lost
     onFocusChanged: if (!focus) close()
     // Bring to front if not clipped
-    onClipChanged:  { clip ? shiftZ(reel, -500) : shiftZ(reel, 500) }
+
 
     onIndexChanged: path.currentIndex = reel.index