feat:remove setRotation,change to just change the property Rotation
This commit is contained in:
@@ -32,7 +32,7 @@ class RefreshableDemo extends Panel {
|
||||
log('stopAnimation')
|
||||
},
|
||||
setProgressRotation: (rotation: number) => {
|
||||
refreshImage.setRotation(context, rotation)
|
||||
refreshImage.rotation = rotation
|
||||
},
|
||||
}),
|
||||
content: (vlayout([
|
||||
|
@@ -66,7 +66,7 @@ export function rotatedArrow(context: BridgeContext) {
|
||||
log('stopAnimation')
|
||||
},
|
||||
setProgressRotation: (rotation: number) => {
|
||||
refreshImage.setRotation(context, rotation)
|
||||
refreshImage.rotation = rotation
|
||||
},
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user