/*SPDX-FileCopyrightText: 2020 Aleix Pol Gonzalez <aleixpol@kde.org>SPDX-License-Identifier: LGPL-2.0-or-later*/import QtQuick 2.15import QtQuick.Window 2.15import org.kde.plasma.core 2.0 as PlasmaCoreimport org.kde.pipewire 0.1 as PipeWireimport org.kde.taskmanager 0.1 as TaskManager// opacity doesn't work in the root itemItem {anchors.fill: parentPipeWire.PipeWireSourceItem {id: pipeWireSourceItemenabled: false // Must be set in pipewiresourceitem.cpp so opacity animation can workvisible: waylandItem.nodeId > 0nodeId: waylandItem.nodeIdanchors.fill: parentopacity: enabled ? 1 : 0TaskManager.ScreencastingRequest {id: waylandItemuuid: toolTipDelegate.Window.visibility === Window.Hidden ? "" : thumbnailSourceItem.winId}Behavior on opacity {OpacityAnimator {duration: PlasmaCore.Units.shortDurationeasing.type: Easing.OutCubic}}}}