3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-07 14:54:17 +00:00
Scare Crowe d2ebfd0519 QortalOS Titan 5.60.12
Screw the description like that inbred T3Q
2022-03-05 21:17:59 +05:00

41 lines
1021 B
QML

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