This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
pannellum
mirror of
https://github.com/mpetroff/pannellum.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
22
Wiki
Activity
Browse Source
Allow hot spots to be added before panorama is loaded (
fixes
#432
).
pull/452/head
Matthew Petroff
7 years ago
parent
d98b7e54b2
commit
0dda044374
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
src/js/pannellum.js
+ 2
- 1
src/js/pannellum.js
View File
@@ -2667,7 +2667,8 @@ this.addHotSpot = function(hs, sceneId) {
if (sceneId === undefined || config.scene == sceneId) {
// Add to current scene
createHotSpot(hs);
renderHotSpot(hs);
if (loaded)
renderHotSpot(hs);
}
return this;
}
Write
Preview
Loading…
Cancel
Save