Commit 4b39250f authored by Marco Martin's avatar Marco Martin
Browse files

same speed animation with kwin minimize

parent b1f65036
......@@ -39,9 +39,9 @@ Item {
}
function syncDelegateGeometry() {
let pos = delegate.mapToItem(tasksView, 0, 0);
let pos = pipeWireItem.mapToItem(tasksView, 0, 0);
if (window.visible) {
tasksModel.requestPublishDelegateGeometry(tasksModel.index(model.index, 0), Qt.rect(pos.x, pos.y, delegate.width, delegate.height), delegate);
tasksModel.requestPublishDelegateGeometry(tasksModel.index(model.index, 0), Qt.rect(pos.x, pos.y, pipeWireItem.width, pipeWireItem.height), pipeWireItem);
} else {
// tasksModel.requestPublishDelegateGeometry(tasksModel.index(model.index, 0), Qt.rect(pos.x, pos.y, delegate.width, delegate.height), dummyWindowTask);
}
......@@ -127,6 +127,7 @@ Item {
}
}
TaskManager.PipeWireSourceItem {
id: pipeWireItem
Layout.fillWidth: true
Layout.fillHeight: true
//visible: waylandItem.nodeId > 0
......
......@@ -173,7 +173,8 @@ NanoShell.FullScreenOverlay {
target: activateAnim.delegate
from: 1
to: 2
duration: units.longDuration
// To try tosync up with kwin animation
duration: units.longDuration * 0.85
easing.type: Easing.InOutQuad
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment