Skip to content

Commit

Permalink
fix(android): initial centerCoordinate should apply (#3372)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas authored Feb 13, 2024
1 parent 1ea117a commit 576fbd5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class RNMBXCamera(private val mContext: Context, private val mManager: RNMBXCame
}
}
fun setStop(stop: CameraStop) {
if (stop.ts != mCameraStop?.ts) {
if ((stop.ts != mCameraStop?.ts) || (mCameraStop == null)) {
mCameraStop = stop
stop.setCallback(mCameraCallback)
if (mMapView != null) {
Expand Down

0 comments on commit 576fbd5

Please sign in to comment.