fix: 修复第二次进入时转场动画被跳过的问题
- 在 init3DScene() 中重置 is2DInitialized 标志为 false - 确保每次进入都能正常执行完整的转场流程 - 修复第二次进入时地图提前显示的问题 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -115,6 +115,9 @@ class App {
|
|||||||
this.sceneManager = null;
|
this.sceneManager = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 重置2D地图初始化标志,允许重新进入转场流程
|
||||||
|
this.is2DInitialized = false;
|
||||||
|
|
||||||
// 重置UI状态
|
// 重置UI状态
|
||||||
this.canvasContainer.style.display = 'block';
|
this.canvasContainer.style.display = 'block';
|
||||||
this.speedLines.style.display = 'block';
|
this.speedLines.style.display = 'block';
|
||||||
|
|||||||
Reference in New Issue
Block a user