mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-23 19:15:56 +00:00
remove animation when swithing to basic layout
This commit is contained in:
parent
d9a2b1aa60
commit
8dc95a17e6
1 changed files with 12 additions and 24 deletions
36
main.qml
36
main.qml
|
@ -1039,19 +1039,15 @@ ApplicationWindow {
|
||||||
properties: "visible"
|
properties: "visible"
|
||||||
value: false
|
value: false
|
||||||
}
|
}
|
||||||
NumberAnimation {
|
PropertyAction {
|
||||||
target: appWindow
|
target: appWindow
|
||||||
properties: "height"
|
properties: "height"
|
||||||
to: 30
|
value: 30
|
||||||
easing.type: Easing.InCubic
|
|
||||||
duration: 200
|
|
||||||
}
|
}
|
||||||
NumberAnimation {
|
PropertyAction {
|
||||||
target: appWindow
|
target: appWindow
|
||||||
properties: "width"
|
properties: "width"
|
||||||
to: 470
|
value: 470
|
||||||
easing.type: Easing.InCubic
|
|
||||||
duration: 200
|
|
||||||
}
|
}
|
||||||
PropertyAction {
|
PropertyAction {
|
||||||
targets: [leftPanel, rightPanel]
|
targets: [leftPanel, rightPanel]
|
||||||
|
@ -1064,12 +1060,10 @@ ApplicationWindow {
|
||||||
value: true
|
value: true
|
||||||
}
|
}
|
||||||
|
|
||||||
NumberAnimation {
|
PropertyAction {
|
||||||
target: appWindow
|
target: appWindow
|
||||||
properties: "height"
|
properties: "height"
|
||||||
to: middlePanel.height
|
value: middlePanel.height
|
||||||
easing.type: Easing.InCubic
|
|
||||||
duration: 200
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onStopped: {
|
onStopped: {
|
||||||
|
@ -1081,12 +1075,10 @@ ApplicationWindow {
|
||||||
|
|
||||||
SequentialAnimation {
|
SequentialAnimation {
|
||||||
id: goToProAnimation
|
id: goToProAnimation
|
||||||
NumberAnimation {
|
PropertyAction {
|
||||||
target: appWindow
|
target: appWindow
|
||||||
properties: "height"
|
properties: "height"
|
||||||
to: 30
|
value: 30
|
||||||
easing.type: Easing.InCubic
|
|
||||||
duration: 200
|
|
||||||
}
|
}
|
||||||
PropertyAction {
|
PropertyAction {
|
||||||
target: middlePanel
|
target: middlePanel
|
||||||
|
@ -1098,19 +1090,15 @@ ApplicationWindow {
|
||||||
properties: "visible"
|
properties: "visible"
|
||||||
value: true
|
value: true
|
||||||
}
|
}
|
||||||
NumberAnimation {
|
PropertyAction {
|
||||||
target: appWindow
|
target: appWindow
|
||||||
properties: "width"
|
properties: "width"
|
||||||
to: rightPanelExpanded ? 1269 : 1269 - 300
|
value: rightPanelExpanded ? 1269 : 1269 - 300
|
||||||
easing.type: Easing.InCubic
|
|
||||||
duration: 200
|
|
||||||
}
|
}
|
||||||
NumberAnimation {
|
PropertyAction {
|
||||||
target: appWindow
|
target: appWindow
|
||||||
properties: "height"
|
properties: "height"
|
||||||
to: maxWindowHeight
|
value: maxWindowHeight
|
||||||
easing.type: Easing.InCubic
|
|
||||||
duration: 200
|
|
||||||
}
|
}
|
||||||
PropertyAction {
|
PropertyAction {
|
||||||
target: frameArea
|
target: frameArea
|
||||||
|
|
Loading…
Reference in a new issue