This commit is contained in:
朱子楚\zhuzi 2023-07-03 18:44:43 +08:00
parent 7dea573069
commit b2d0975ed7

View File

@ -232,6 +232,9 @@ Rectangle {
closeEditor() closeEditor()
table_view.interactive = false table_view.interactive = false
} }
onCanceled: {
table_view.interactive = true
}
onReleased: { onReleased: {
table_view.interactive = true table_view.interactive = true
} }
@ -290,12 +293,7 @@ Rectangle {
} }
SelectionRectangle { SelectionRectangle {
id:selection_rect id:selection_rect
target: { target: table_view
if(item_loader.sourceComponent){
return null
}
return table_view
}
bottomRightHandle:com_handle bottomRightHandle:com_handle
topLeftHandle: com_handle topLeftHandle: com_handle
onDraggingChanged: { onDraggingChanged: {