Skip to content

Commit

Permalink
Merge pull request #95 from pattern-x/feature/update-example-pages
Browse files Browse the repository at this point in the history
Update example pages
  • Loading branch information
pattern-x committed Jun 16, 2023
2 parents aa998c4 + 52d9ecd commit 464c3d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions public/demo/dxf_10.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@
let enableSyncCamera = false;
syncCameraBtn.onclick = function () {
if (!enableSyncCamera) {
compareHelper.enableSyncCamera = true;
compareHelper.enableSyncCamera(true);
syncCameraBtn.innerText = "synced";
} else {
compareHelper.enableSyncCamera = false;
compareHelper.enableSyncCamera(false);
syncCameraBtn.innerText = "unsynced";
}
enableSyncCamera = !enableSyncCamera;
Expand Down
4 changes: 2 additions & 2 deletions public/demo/dxf_8.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@
let enableSyncCamera = false;
syncCameraBtn.onclick = function () {
if (!enableSyncCamera) {
compareViewer.enableSyncCamera = true;
compareViewer.enableSyncCamera(true);
syncCameraBtn.innerText = "synced";
} else {
compareViewer.enableSyncCamera = false;
compareViewer.enableSyncCamera(false);
syncCameraBtn.innerText = "unsynced";
}
enableSyncCamera = !enableSyncCamera;
Expand Down

0 comments on commit 464c3d3

Please sign in to comment.