fix: ép render lại sau khi resize cửa sổ (on-demand)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
tuyenio
2026-06-24 16:10:31 +07:00
parent 336e3ddb63
commit cf360694d6
+1
View File
@@ -1457,6 +1457,7 @@ function TourExperience({
camera.aspect = width / height;
camera.updateProjectionMatrix();
renderer.setSize(width, height);
needsRenderRef.current = true;
updateHotspots();
};