Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
gr4yscale committed Feb 19, 2021
1 parent f09b193 commit 4adcdb0
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 4adcdb0

Please sign in to comment.