Verified Commit ba73809a authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

wallpapers/image: add opacity animation in wallpaper item

parent f7dec7cf
Pipeline #190630 canceled with stage
......@@ -5,7 +5,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.0
import QtQuick 2.15
import QtQuick.Controls.Private 1.0
import QtQuick.Controls 2.3 as QtControls2
import QtGraphicalEffects 1.0
......@@ -124,6 +124,13 @@ KCM.GridDelegate {
}
}
Behavior on opacity {
OpacityAnimator {
duration: PlasmaCore.Units.longDuration
easing.type: Easing.InOutQuad
}
}
onClicked: {
if (configDialog.currentWallpaper == "org.kde.image") {
cfg_Image = model.packageName || model.path;
......
Supports Markdown
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