mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
Remove animations from custom settings view.
They never properly worked anyway, and now they cause the items to overlap. CURA-9160
This commit is contained in:
parent
16d0a81911
commit
c002a52b50
1 changed files with 0 additions and 34 deletions
|
@ -227,9 +227,7 @@ Item
|
||||||
id: delegate
|
id: delegate
|
||||||
|
|
||||||
width: contents.width - (scrollBar.width + UM.Theme.getSize("narrow_margin").width)
|
width: contents.width - (scrollBar.width + UM.Theme.getSize("narrow_margin").width)
|
||||||
Behavior on height { NumberAnimation { duration: 100 } }
|
|
||||||
opacity: enabled ? 1 : 0
|
opacity: enabled ? 1 : 0
|
||||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
|
||||||
enabled: provider.properties.enabled === "True"
|
enabled: provider.properties.enabled === "True"
|
||||||
|
|
||||||
property var definition: model
|
property var definition: model
|
||||||
|
@ -351,10 +349,7 @@ Item
|
||||||
function onFocusReceived()
|
function onFocusReceived()
|
||||||
{
|
{
|
||||||
contents.indexWithFocus = index
|
contents.indexWithFocus = index
|
||||||
animateContentY.from = contents.contentY
|
|
||||||
contents.positionViewAtIndex(index, ListView.Contain)
|
contents.positionViewAtIndex(index, ListView.Contain)
|
||||||
animateContentY.to = contents.contentY
|
|
||||||
animateContentY.running = true
|
|
||||||
}
|
}
|
||||||
function onSetActiveFocusToNextSetting(forward)
|
function onSetActiveFocusToNextSetting(forward)
|
||||||
{
|
{
|
||||||
|
@ -386,35 +381,6 @@ Item
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
NumberAnimation {
|
|
||||||
id: animateContentY
|
|
||||||
target: contents
|
|
||||||
property: "contentY"
|
|
||||||
duration: 50
|
|
||||||
}
|
|
||||||
|
|
||||||
add: Transition {
|
|
||||||
SequentialAnimation {
|
|
||||||
NumberAnimation { properties: "height"; from: 0; duration: 100 }
|
|
||||||
NumberAnimation { properties: "opacity"; from: 0; duration: 100 }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
remove: Transition {
|
|
||||||
SequentialAnimation {
|
|
||||||
NumberAnimation { properties: "opacity"; to: 0; duration: 100 }
|
|
||||||
NumberAnimation { properties: "height"; to: 0; duration: 100 }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
addDisplaced: Transition {
|
|
||||||
NumberAnimation { properties: "x,y"; duration: 100 }
|
|
||||||
}
|
|
||||||
removeDisplaced: Transition {
|
|
||||||
SequentialAnimation {
|
|
||||||
PauseAnimation { duration: 100; }
|
|
||||||
NumberAnimation { properties: "x,y"; duration: 100 }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Cura.Menu
|
Cura.Menu
|
||||||
{
|
{
|
||||||
id: contextMenu
|
id: contextMenu
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue