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
Avoid race condition between `updateOnce()` and `setUpdate(true)`.
pull/1140/head
Matthew Petroff
1 year ago
parent
204241e715
commit
3aab61fd2a
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/js/pannellum.js
+ 1
- 0
src/js/pannellum.js
View File
@@ -3058,6 +3058,7 @@ this.getRenderer = function() {
this.setUpdate = function(bool) {
update = bool === true;
if (update) {
updateOnce = false;
if (renderer === undefined)
onImageLoad();
else
Write
Preview
Loading…
Cancel
Save