mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06: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
|
||||
|
||||
opacity: opened ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||
|
||||
contentItem: AccountDetails
|
||||
{
|
||||
id: panel
|
||||
|
@ -61,8 +64,6 @@ Button
|
|||
|
||||
background: UM.PointingRectangle
|
||||
{
|
||||
opacity: visible ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||
color: UM.Theme.getColor("tool_panel_background")
|
||||
borderColor: UM.Theme.getColor("lining")
|
||||
borderWidth: UM.Theme.getSize("default_lining").width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue