-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "chore: Reimplement notification animation"
This reverts commit 2f8de93
- Loading branch information
1 parent
7d34222
commit d958989
Showing
4 changed files
with
136 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
dde-shell (0.0.43) unstable; urgency=medium | ||
|
||
* bump version to 0.0.43 | ||
|
||
-- Deepin Packages Builder <[email protected]> Thu, 29 Aug 2024 10:27:53 +0800 | ||
|
||
dde-shell (0.0.42) unstable; urgency=medium | ||
|
||
* feat: tooltip and preview call to treeland | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
// SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd. | ||
// | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
import QtQuick 2.15 | ||
|
||
SequentialAnimation { | ||
property Item target: parent | ||
id: root | ||
property real baseScale | ||
|
||
PropertyAnimation { | ||
target: root.target | ||
property: "scale" | ||
from: baseScale | ||
to: baseScale | ||
duration: 880 | ||
} | ||
|
||
PropertyAnimation { | ||
target: root.target | ||
property: "scale" | ||
from: baseScale | ||
to: baseScale * 1.2 | ||
duration: 120 | ||
} | ||
|
||
PropertyAnimation { | ||
target: root.target | ||
property: "scale" | ||
from: baseScale * 1.2 | ||
to: baseScale * 1.08 | ||
duration: 80 | ||
} | ||
|
||
PropertyAnimation { | ||
target: root.target | ||
property: "scale" | ||
from: baseScale * 1.08 | ||
to: baseScale * 1.16 | ||
duration: 120 | ||
} | ||
|
||
PropertyAnimation { | ||
target: root.target | ||
property: "scale" | ||
from: baseScale * 1.16 | ||
to: baseScale * 1.1 | ||
duration: 120 | ||
} | ||
|
||
PropertyAnimation { | ||
target: root.target | ||
property: "scale" | ||
from: baseScale * 1.1 | ||
to: baseScale * 1.15 | ||
duration: 120 | ||
} | ||
|
||
PropertyAnimation { | ||
target: root.target | ||
property: "scale" | ||
from: baseScale * 1.15 | ||
to: baseScale * 1.12 | ||
duration: 120 | ||
} | ||
|
||
PropertyAnimation { | ||
target: root.target | ||
property: "scale" | ||
from: baseScale * 1.12 | ||
to: baseScale * 0.9 | ||
duration: 160 | ||
} | ||
|
||
PropertyAnimation { | ||
target: root.target | ||
property: "scale" | ||
from: baseScale * 0.9 | ||
to: baseScale * 1.05 | ||
duration: 120 | ||
} | ||
|
||
PropertyAnimation { | ||
target: root.target | ||
property: "scale" | ||
from: baseScale * 1.05 | ||
to: baseScale * 0.95 | ||
duration: 120 | ||
} | ||
|
||
PropertyAnimation { | ||
target: root.target | ||
property: "scale" | ||
from: baseScale * 0.95 | ||
to: baseScale * 1 | ||
duration: 120 | ||
} | ||
|
||
PropertyAnimation { | ||
target: root.target | ||
property: "scale" | ||
from: baseScale * 1 | ||
to: baseScale * 1 | ||
duration: 480 | ||
} | ||
|
||
onStopped: root.target.scale = baseScale | ||
onFinished: loops = Animation.Infinite | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters