Skip to content
Snippets Groups Projects
Commit bfa5132d authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Jean-Baptiste Kempf
Browse files

qml: off-screen render DragItem

parent ee70c360
No related branches found
No related tags found
Loading
Pipeline #442263 passed with stage
in 33 minutes and 3 seconds
......@@ -119,15 +119,8 @@ Item {
// Implementation
//---------------------------------------------------------------------------------------------
// always keep drag item out of view
z: -1
parent: T.Overlay.overlay
x: parent.width + VLCStyle.margin_large
y: parent.height + VLCStyle.margin_large
visible: false
Drag.dragType: Drag.None
......@@ -144,6 +137,10 @@ Item {
enabled: false
// Offscreen render:
layer.enabled: true
layer.effect: Item { }
function _setData(data) {
console.assert(data.length === indexes.length)
_data = data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment