mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-27 04:41:06 -07:00
Add soft animation to the entire popup and not only in the background.
This prevents the content to show before the background. Contributes to CURA-5784.
This commit is contained in:
parent
3669a3791d
commit
f65b1f8fbc
1 changed files with 3 additions and 2 deletions
|
|
@ -51,6 +51,9 @@ Button
|
||||||
|
|
||||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
|
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
|
||||||
|
|
||||||
|
opacity: opened ? 1 : 0
|
||||||
|
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||||
|
|
||||||
contentItem: AccountDetails
|
contentItem: AccountDetails
|
||||||
{
|
{
|
||||||
id: panel
|
id: panel
|
||||||
|
|
@ -61,8 +64,6 @@ Button
|
||||||
|
|
||||||
background: UM.PointingRectangle
|
background: UM.PointingRectangle
|
||||||
{
|
{
|
||||||
opacity: visible ? 1 : 0
|
|
||||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
|
||||||
color: UM.Theme.getColor("tool_panel_background")
|
color: UM.Theme.getColor("tool_panel_background")
|
||||||
borderColor: UM.Theme.getColor("lining")
|
borderColor: UM.Theme.getColor("lining")
|
||||||
borderWidth: UM.Theme.getSize("default_lining").width
|
borderWidth: UM.Theme.getSize("default_lining").width
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue