Skip to content

Commit

Permalink
Update panorama.dart
Browse files Browse the repository at this point in the history
fix onImageLoad call
  • Loading branch information
zesage authored Nov 28, 2021
1 parent 87e43ef commit 538fd94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/panorama.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 538fd94

Please sign in to comment.