Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
fix: photooverlay transition does not work in Android (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
HideBa committed Dec 23, 2021
1 parent 8d06fa2 commit decbfe1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function ({ isSelected, camera }: { isSelected?: boolean; camera?
flyTo?.({ fov }, { duration: 0 });
}
// skip camera flight when selected layer was changed by storytelling widget
startTransition(!isSelected, storytelling.current ? !isSelected : !cameraRef.current);
startTransition(!isSelected, !isSelected);
}, [flyTo, startTransition, isSelected]);

const transition = useTransition(
Expand Down

0 comments on commit decbfe1

Please sign in to comment.