diff --git a/Gallery/res/qml/component/base/MyTreeView.qml b/Gallery/res/qml/component/base/MyTreeView.qml index e88b977..fd42ddf 100644 --- a/Gallery/res/qml/component/base/MyTreeView.qml +++ b/Gallery/res/qml/component/base/MyTreeView.qml @@ -180,11 +180,11 @@ ScrollView { anchors.fill: parent drag.target: dragRect onPressed: { - timer.startTimer(() => { + // timer.startTimer(() => { view.start_drag = true dragRect.Drag.active = true dragRect.Drag.source = dragRect - }, 100) + // }, 100) } onReleased: { timer.stopTimer(()=> { @@ -201,12 +201,12 @@ ScrollView { currentItem = model console.log("click modelId =" + model.id) } - hoverEnabled: true - onEntered: { - // console.log(rowfill_cur.mapToItem(view, 0, 0).x) - } - onExited: { - } + // hoverEnabled: true + // onEntered: { + // // console.log(rowfill_cur.mapToItem(view, 0, 0).x) + // } + // onExited: { + // } } Drag.active: mouseArea.drag.active