@reearth/core 0.0.7-alpha.46 → 0.0.7-alpha.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.js +2 -2
- package/dist/core.umd.cjs +2 -2
- package/package.json +1 -1
- package/src/Map/useTimelineManager.ts +1 -1
package/package.json
CHANGED
|
@@ -112,7 +112,7 @@ export default ({ init, engineRef, timelineManagerRef }: Props) => {
|
|
|
112
112
|
const currentTime = current.getTime();
|
|
113
113
|
|
|
114
114
|
const convertedStartTime = startTime > currentTime ? currentTime : startTime;
|
|
115
|
-
const convertedStopTime = stopTime
|
|
115
|
+
const convertedStopTime = stopTime < currentTime ? currentTime + DEFAULT_RANGE : stopTime;
|
|
116
116
|
|
|
117
117
|
return {
|
|
118
118
|
start: new Date(convertedStartTime),
|