From 72c09abb2bc2ff123f74a2d7a003e8ea4d23ba1e Mon Sep 17 00:00:00 2001 From: Robin Davies Date: Fri, 15 Mar 2019 19:45:18 +0000 Subject: [PATCH] Adding scene to pannellum.viewer init fucntion This means that function that rely of having scene accessible will now work. Adding id to pannellum img viewer example. --- demo/src/components/ImageDemo.js | 2 ++ src/elements/Pannellum.js | 17 +++++++++++++---- src/pannellum/js/pannellum.js | 5 ++++- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/demo/src/components/ImageDemo.js b/demo/src/components/ImageDemo.js index d4a81d1..34c1f71 100644 --- a/demo/src/components/ImageDemo.js +++ b/demo/src/components/ImageDemo.js @@ -71,6 +71,8 @@ export default class ImageDemo extends Component {