Formatting
This commit is contained in:
parent
c3304818f1
commit
5fd0e57b91
7 changed files with 28 additions and 40 deletions
|
|
@ -94,7 +94,6 @@ NLoader {
|
|||
NumberAnimation {
|
||||
duration: Style.animationSlow
|
||||
easing.type: Easing.OutExpo
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -102,7 +101,6 @@ NLoader {
|
|||
NumberAnimation {
|
||||
duration: Style.animationNormal
|
||||
easing.type: Easing.OutQuad
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -124,8 +124,8 @@ Item {
|
|||
showOverlay: false // no colors overlay even if activated in settings
|
||||
|
||||
// Override hide function to animate first
|
||||
function hide() {
|
||||
// Start hide animation
|
||||
function hide() {
|
||||
// Start hide animation
|
||||
trayMenuRect.scaleValue = 0.8
|
||||
trayMenuRect.opacityValue = 0.0
|
||||
|
||||
|
|
@ -136,8 +136,8 @@ Item {
|
|||
Connections {
|
||||
target: trayPanel
|
||||
ignoreUnknownSignals: true
|
||||
function onDismissed() {
|
||||
// Start hide animation
|
||||
function onDismissed() {
|
||||
// Start hide animation
|
||||
trayMenuRect.scaleValue = 0.8
|
||||
trayMenuRect.opacityValue = 0.0
|
||||
|
||||
|
|
@ -148,8 +148,8 @@ Item {
|
|||
|
||||
// Also handle visibility changes from external sources
|
||||
onVisibleChanged: {
|
||||
if (!visible && trayMenuRect.opacityValue > 0) {
|
||||
// Start hide animation
|
||||
if (!visible && trayMenuRect.opacityValue > 0) {
|
||||
// Start hide animation
|
||||
trayMenuRect.scaleValue = 0.8
|
||||
trayMenuRect.opacityValue = 0.0
|
||||
|
||||
|
|
@ -192,7 +192,6 @@ Item {
|
|||
NumberAnimation {
|
||||
duration: Style.animationSlow
|
||||
easing.type: Easing.OutExpo
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -200,7 +199,6 @@ Item {
|
|||
NumberAnimation {
|
||||
duration: Style.animationNormal
|
||||
easing.type: Easing.OutQuad
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -97,7 +97,6 @@ NLoader {
|
|||
NumberAnimation {
|
||||
duration: Style.animationSlow
|
||||
easing.type: Easing.OutExpo
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -105,7 +104,6 @@ NLoader {
|
|||
NumberAnimation {
|
||||
duration: Style.animationNormal
|
||||
easing.type: Easing.OutQuad
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -99,7 +99,6 @@ NLoader {
|
|||
NumberAnimation {
|
||||
duration: Style.animationSlow
|
||||
easing.type: Easing.OutExpo
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -107,7 +106,6 @@ NLoader {
|
|||
NumberAnimation {
|
||||
duration: Style.animationNormal
|
||||
easing.type: Easing.OutQuad
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -110,8 +110,6 @@ NLoader {
|
|||
opacityValue = 1.0
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Timer to hide panel after animation
|
||||
Timer {
|
||||
id: hideTimer
|
||||
|
|
@ -133,7 +131,6 @@ NLoader {
|
|||
NumberAnimation {
|
||||
duration: Style.animationSlow
|
||||
easing.type: Easing.OutExpo
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -141,7 +138,6 @@ NLoader {
|
|||
NumberAnimation {
|
||||
duration: Style.animationNormal
|
||||
easing.type: Easing.OutQuad
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue