Widgets Drag&Drop: fix for panel closing when clicking rapidly in the background of a widget.
This commit is contained in:
parent
0a4317f712
commit
3f388bdb4b
2 changed files with 26 additions and 17 deletions
|
|
@ -132,8 +132,8 @@ ColumnLayout {
|
|||
onRemoveWidget: (section, index) => _removeWidgetFromSection(section, index)
|
||||
onReorderWidget: (section, fromIndex, toIndex) => _reorderWidgetInSection(section, fromIndex, toIndex)
|
||||
onUpdateWidgetSettings: (section, index, settings) => _updateWidgetSettingsInSection(section, index, settings)
|
||||
onDragStarted: root.handleDragStart()
|
||||
onDragEnded: root.handleDragEnd()
|
||||
onDragPotentialStarted: root.handleDragStart()
|
||||
onDragPotentialEnded: root.handleDragEnd()
|
||||
}
|
||||
|
||||
// Center Section
|
||||
|
|
@ -146,8 +146,8 @@ ColumnLayout {
|
|||
onRemoveWidget: (section, index) => _removeWidgetFromSection(section, index)
|
||||
onReorderWidget: (section, fromIndex, toIndex) => _reorderWidgetInSection(section, fromIndex, toIndex)
|
||||
onUpdateWidgetSettings: (section, index, settings) => _updateWidgetSettingsInSection(section, index, settings)
|
||||
onDragStarted: root.handleDragStart()
|
||||
onDragEnded: root.handleDragEnd()
|
||||
onDragPotentialStarted: root.handleDragStart()
|
||||
onDragPotentialEnded: root.handleDragEnd()
|
||||
}
|
||||
|
||||
// Right Section
|
||||
|
|
@ -160,8 +160,8 @@ ColumnLayout {
|
|||
onRemoveWidget: (section, index) => _removeWidgetFromSection(section, index)
|
||||
onReorderWidget: (section, fromIndex, toIndex) => _reorderWidgetInSection(section, fromIndex, toIndex)
|
||||
onUpdateWidgetSettings: (section, index, settings) => _updateWidgetSettingsInSection(section, index, settings)
|
||||
onDragStarted: root.handleDragStart()
|
||||
onDragEnded: root.handleDragEnd()
|
||||
onDragPotentialStarted: root.handleDragStart()
|
||||
onDragPotentialEnded: root.handleDragEnd()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue