From: Claudio Cambra Date: Wed, 10 May 2023 03:25:32 +0000 (+0800) Subject: Smoothly animate change of state for copy share link button X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~10^2~47^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4e12bbf3e4973731ef04b055e2257389fce961e7;p=nextcloud-desktop.git Smoothly animate change of state for copy share link button Signed-off-by: Claudio Cambra --- diff --git a/src/gui/filedetails/ShareDetailsPage.qml b/src/gui/filedetails/ShareDetailsPage.qml index 5a56eb58c..6f6ba36b9 100644 --- a/src/gui/filedetails/ShareDetailsPage.qml +++ b/src/gui/filedetails/ShareDetailsPage.qml @@ -880,6 +880,14 @@ Page { onClicked: copyShareLink() + Behavior on bgColor { + ColorAnimation { duration: 200 } + } + + Behavior on bgHoverOpacity { + NumberAnimation { duration: 200 } + } + TextEdit { id: clipboardHelper visible: false