feat: fix popover view cannot animate
This commit is contained in:
parent
95aa9b8362
commit
1c1ca76782
@ -41,7 +41,8 @@ export function animate(context: BridgeContext) {
|
|||||||
for (let map of panel.allHeadViews()) {
|
for (let map of panel.allHeadViews()) {
|
||||||
for (let v of map.values()) {
|
for (let v of map.values()) {
|
||||||
if (v.isDirty()) {
|
if (v.isDirty()) {
|
||||||
const model_1 = v.toModel()
|
const model_1 = v.toModel();
|
||||||
|
(model_1 as any).duration = args.duration
|
||||||
const ret_1 = context.callNative('animate', 'animateRender', model_1)
|
const ret_1 = context.callNative('animate', 'animateRender', model_1)
|
||||||
v.clean()
|
v.clean()
|
||||||
return ret_1
|
return ret_1
|
||||||
|
Reference in New Issue
Block a user