From: Claudio Cambra Date: Thu, 11 May 2023 06:10:47 +0000 (+0800) Subject: Animate copy share link button in share delegate X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~10^2~47^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a9375c4d64f6ead7480cd4515b5cdbf8cc62842c;p=nextcloud-desktop.git Animate copy share link button in share delegate Signed-off-by: Claudio Cambra --- diff --git a/src/gui/filedetails/ShareDelegate.qml b/src/gui/filedetails/ShareDelegate.qml index 9c7d5a730..5efa92265 100644 --- a/src/gui/filedetails/ShareDelegate.qml +++ b/src/gui/filedetails/ShareDelegate.qml @@ -209,6 +209,18 @@ GridLayout { onClicked: copyShareLink() + Behavior on bgColor { + ColorAnimation { duration: Style.shortAnimationDuration } + } + + Behavior on bgNormalOpacity { + NumberAnimation { duration: Style.shortAnimationDuration } + } + + Behavior on Layout.preferredWidth { + SmoothedAnimation { duration: Style.shortAnimationDuration } + } + TextEdit { id: clipboardHelper visible: false