mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
[flutter] Fix first frame flicker
This commit is contained in:
parent
039fd9a3e8
commit
916193e57e
@ -107,8 +107,8 @@ class _SpineWidgetState extends State<SpineWidget> {
|
||||
}
|
||||
|
||||
skeletonDrawable = SkeletonDrawable(atlas, skeletonData, true);
|
||||
skeletonDrawable?.update(0.016);
|
||||
widget.controller._initialize(atlas, skeletonData, skeletonDrawable!);
|
||||
skeletonDrawable?.update(0);
|
||||
setState(() {
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user