Skip to content

Commit

Permalink
added information on deleting transform
Browse files Browse the repository at this point in the history
  • Loading branch information
codetricity committed Nov 18, 2024
1 parent 1ac7c6c commit 0c53f1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/tutorial2.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,18 +498,20 @@ const ui = {
![right pane enhance](images/tutorial2/right-pane-enhance.png)
1. change `viewer.start` to delete the transform
1. create a function to switch scene
1. in the function, add the pane "1", which is the right pane
1. create a button to run the function to switch the scene
```javascript
```javascript hl_lines="8 10-16"
const viewer = new RICOH360Viewer({
divId: "viewer",
onFetchToken: () => "{{token}}",
ui
});
viewer.start({
contentId: "{{contentId}}",
// delete the transform line here
});
const enhanceRightPane = () => {
viewer.switchScene(
Expand Down

0 comments on commit 0c53f1d

Please sign in to comment.