qml: hide toolbar editor delegate until drop is completed
Currently, when `drop()` is called, the delegate is shown in its original position with internal drag. This causes the delegate to be shown for a momentary period of time until it is removed from the view. In order to prevent flickering, hide the delegate before calling `drop()` and if the delegate is dropped in the same view (intra-view move) then show it since the delegate should not remain hidden in its new position.
parent
20343e3b
No related branches found
No related tags found
Showing
- modules/gui/qt/dialogs/toolbar/qml/EditorDNDDelegate.qml 7 additions, 4 deletionsmodules/gui/qt/dialogs/toolbar/qml/EditorDNDDelegate.qml
- modules/gui/qt/dialogs/toolbar/qml/EditorDNDView.qml 6 additions, 2 deletionsmodules/gui/qt/dialogs/toolbar/qml/EditorDNDView.qml
- modules/gui/qt/dialogs/toolbar/qml/ToolbarEditorButtonList.qml 2 additions, 1 deletion...es/gui/qt/dialogs/toolbar/qml/ToolbarEditorButtonList.qml
Please register or sign in to comment