Skip to content

Commit

Permalink
Bugfix (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
gr4yscale committed Mar 16, 2021
1 parent 2f409cd commit 159c06f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/map/map.dart
Expand Up @@ -133,7 +133,7 @@ class MapState {
// Extended size of the map where rotation is calculated
CustomPoint _size;

CustomPoint get size => _size;
CustomPoint get size => _size ?? CustomPoint(0.0, 0.0);

void _updateSizeByOriginalSizeAndRotation() {
final originalWidth = _originalSize.x;
Expand Down

0 comments on commit 159c06f

Please sign in to comment.