Fix HImage fillMode for GIFs
The animated image relied on the source image's fillMode property, but it got overwrote with Image.Pad by a Binding in the AnimatedImage.
This commit is contained in:
parent
68da4be7be
commit
88e74796ef
|
@ -41,6 +41,7 @@ Image {
|
||||||
autoTransform: image.autoTransform
|
autoTransform: image.autoTransform
|
||||||
asynchronous: image.asynchronous
|
asynchronous: image.asynchronous
|
||||||
fillMode: image.fillMode
|
fillMode: image.fillMode
|
||||||
|
|
||||||
mirror: image.mirror
|
mirror: image.mirror
|
||||||
mipmap: image.mipmap
|
mipmap: image.mipmap
|
||||||
smooth: image.smooth
|
smooth: image.smooth
|
||||||
|
@ -57,11 +58,6 @@ Image {
|
||||||
|
|
||||||
// Hack to make the non-animated image behind this one
|
// Hack to make the non-animated image behind this one
|
||||||
// basically invisible
|
// basically invisible
|
||||||
Binding {
|
|
||||||
target: image
|
|
||||||
property: "fillMode"
|
|
||||||
value: Image.Pad
|
|
||||||
}
|
|
||||||
Binding {
|
Binding {
|
||||||
target: image
|
target: image
|
||||||
property: "sourceSize.width"
|
property: "sourceSize.width"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user