增加gif图duration的默认值,以及默认播放次数
Signed-off-by: zgf <zenggaofeng2@h-partners.com>
This commit is contained in:
parent
8b715efb24
commit
ed67b3b198
|
@ -58,6 +58,10 @@ struct TestGifPlayTimesPage {
|
|||
}
|
||||
|
||||
ImageKnifeComponent({ imageKnifeOption: this.ImageKnifeOption1 }).width(300).height(300).borderWidth(3)
|
||||
Text("gif自带默播放一次")
|
||||
ImageKnifeComponent({ imageKnifeOption: {
|
||||
loadSrc:$r('app.media.diamond_1')
|
||||
} }).width(300).height(300).borderWidth(3)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 7.2 KiB |
Loading…
Reference in New Issue