Smoothly animate change of state for copy share link button

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-05-10 11:25:32 +08:00
parent 7db143469a
commit 4e12bbf3e4

View file

@ -880,6 +880,14 @@ Page {
onClicked: copyShareLink() onClicked: copyShareLink()
Behavior on bgColor {
ColorAnimation { duration: 200 }
}
Behavior on bgHoverOpacity {
NumberAnimation { duration: 200 }
}
TextEdit { TextEdit {
id: clipboardHelper id: clipboardHelper
visible: false visible: false