Skip to content

Commit

Permalink
refactor(#25): ♻️ Change target point to only when double-clicking
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinc committed Oct 13, 2025
1 parent 25e4d72 commit 31b4e03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<link
rel="stylesheet"
type="text/css"
href="src/coordinateShowing/coordinateShowing.css"
href="src/CoordinateShowing/coordinateShowing.css"
/>
<link
rel="stylesheet"
Expand Down
2 changes: 1 addition & 1 deletion src/CoordinateShowing/coordinateShowing.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function setupRightClickListener(potreeViewer) {
}
})

viewerElement.addEventListener('mousedown', (event) => {
viewerElement.addEventListener('dblclick', (event) => {
if (event.button === 0) {
isRightClick = false
}
Expand Down

0 comments on commit 31b4e03

Please sign in to comment.