mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:39:03 +08:00
Merge branch '4.9' of https://github.com/Ultimaker/Cura into 4.9
This commit is contained in:
commit
d84743990d
@ -71,7 +71,7 @@ Item
|
|||||||
width: whatsNewViewport.width
|
width: whatsNewViewport.width
|
||||||
height: whatsNewViewport.height
|
height: whatsNewViewport.height
|
||||||
|
|
||||||
Image
|
AnimatedImage
|
||||||
{
|
{
|
||||||
id: subpageImage
|
id: subpageImage
|
||||||
|
|
||||||
@ -84,9 +84,9 @@ Item
|
|||||||
right: parent.right
|
right: parent.right
|
||||||
rightMargin: UM.Theme.getSize("thick_margin").width
|
rightMargin: UM.Theme.getSize("thick_margin").width
|
||||||
}
|
}
|
||||||
width: sourceSize.width
|
width: Math.round(parent.width - (UM.Theme.getSize("thick_margin").height * 2))
|
||||||
sourceSize.width: Math.round(parent.width - (UM.Theme.getSize("thick_margin").height * 2))
|
|
||||||
fillMode: Image.PreserveAspectFit
|
fillMode: Image.PreserveAspectFit
|
||||||
|
onStatusChanged: playing = (status == AnimatedImage.Ready)
|
||||||
|
|
||||||
source: manager.getSubpageImageSource(index)
|
source: manager.getSubpageImageSource(index)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user