Update panorama.dart
fix onImageLoad call
This commit is contained in:
parent
87e43ef941
commit
538fd94889
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ class _PanoramaState extends State<Panorama> with SingleTickerProviderStateMixin
|
|||
surface?.mesh.textureRect = Rect.fromLTWH(0, 0, imageInfo.image.width.toDouble(), imageInfo.image.height.toDouble());
|
||||
scene!.texture = imageInfo.image;
|
||||
scene!.update();
|
||||
widget.onImageLoad!();
|
||||
widget.onImageLoad?.call();
|
||||
}
|
||||
|
||||
void _loadTexture(ImageProvider? provider) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue