Hiển thị text overlay trên màn hình
This commit is contained in:
@@ -144,6 +144,11 @@ function initPanoramaViewer(imageUrl, hotspots = [], ownerId = null, initialPitc
|
||||
function closeViewer() {
|
||||
document.getElementById('viewer-container').style.display = 'none';
|
||||
|
||||
// Ẩn overlay thông tin cảnh nếu có
|
||||
if (typeof window.hideViewerInfoOverlay === 'function') {
|
||||
window.hideViewerInfoOverlay();
|
||||
}
|
||||
|
||||
// Xóa trạng thái Scene đang hoạt động khi đóng viewer
|
||||
localStorage.removeItem('activeSceneId');
|
||||
localStorage.removeItem('activeScenePrivacy');
|
||||
|
||||
Reference in New Issue
Block a user