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
Fix bug in last commit.
While the last commit prevented a race condition, it also broke the `updateOnce` function.
pull/1140/head
Matthew Petroff
1 year ago
parent
3aab61fd2a
commit
3d271c83d5
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
src/js/pannellum.js
+ 4
- 1
src/js/pannellum.js
View File
@@ -3075,7 +3075,10 @@ this.setUpdate = function(bool) {
*/
this.updateOnce = function() {
updateOnce = true;
this.setUpdate(true);
if (renderer === undefined)
onImageLoad();
else
animateInit();
return this;
};
Write
Preview
Loading…
Cancel
Save