mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
fade anim
This commit is contained in:
parent
25dc5015e6
commit
130b201b2b
1 changed files with 13 additions and 1 deletions
|
|
@ -17,7 +17,7 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
import QtQuick 2.0
|
||||
import QtQuick 2.3
|
||||
import QtQuick.Controls 1.3
|
||||
import QtQuick.Layouts 1.1
|
||||
import org.nemomobile.voicecall 1.0
|
||||
|
|
@ -116,6 +116,12 @@ ApplicationWindow {
|
|||
when: root.visible && root.status == 0
|
||||
source: Qt.resolvedUrl("Dialer.qml")
|
||||
opacity: root.status == 0 ? 1 : 0
|
||||
Behavior on opacity {
|
||||
OpacityAnimator {
|
||||
duration: units.shortDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
PlasmaExtras.ConditionalLoader {
|
||||
|
|
@ -123,6 +129,12 @@ ApplicationWindow {
|
|||
when: root.status > 0
|
||||
source: Qt.resolvedUrl("Call/CallPage.qml")
|
||||
opacity: root.status > 0 ? 1 : 0
|
||||
Behavior on opacity {
|
||||
OpacityAnimator {
|
||||
duration: units.shortDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//END UI
|
||||
|
|
|
|||
Loading…
Reference in a new issue