Skip to content

Commit

Permalink
Rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Apr 22, 2024
1 parent 14b53f3 commit 9243820
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
6 changes: 6 additions & 0 deletions dist/xeokit-sdk.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -10865,6 +10865,7 @@ class Wire {
wireClickable.addEventListener('contextmenu', (event) => {
cfg.onContextMenu(event, this);
event.preventDefault();
event.stopPropagation();
});
}

Expand Down Expand Up @@ -11063,6 +11064,7 @@ class Dot {
dotClickable.addEventListener('contextmenu', (event) => {
cfg.onContextMenu(event, this);
event.preventDefault();
event.stopPropagation();
});
}

Expand Down Expand Up @@ -11204,12 +11206,14 @@ class Label {
if (cfg.onMouseDown) {
label.addEventListener('mousedown', (event) => {
cfg.onMouseDown(event, this);
event.stopPropagation();
});
}

if (cfg.onMouseUp) {
label.addEventListener('mouseup', (event) => {
cfg.onMouseUp(event, this);
event.stopPropagation();
});
}

Expand All @@ -11223,6 +11227,8 @@ class Label {
label.addEventListener('contextmenu', (event) => {
cfg.onContextMenu(event, this);
event.preventDefault();
event.stopPropagation();
console.log("Label context menu");
});
}
}
Expand Down
6 changes: 6 additions & 0 deletions dist/xeokit-sdk.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -10861,6 +10861,7 @@ class Wire {
wireClickable.addEventListener('contextmenu', (event) => {
cfg.onContextMenu(event, this);
event.preventDefault();
event.stopPropagation();
});
}

Expand Down Expand Up @@ -11059,6 +11060,7 @@ class Dot {
dotClickable.addEventListener('contextmenu', (event) => {
cfg.onContextMenu(event, this);
event.preventDefault();
event.stopPropagation();
});
}

Expand Down Expand Up @@ -11200,12 +11202,14 @@ class Label {
if (cfg.onMouseDown) {
label.addEventListener('mousedown', (event) => {
cfg.onMouseDown(event, this);
event.stopPropagation();
});
}

if (cfg.onMouseUp) {
label.addEventListener('mouseup', (event) => {
cfg.onMouseUp(event, this);
event.stopPropagation();
});
}

Expand All @@ -11219,6 +11223,8 @@ class Label {
label.addEventListener('contextmenu', (event) => {
cfg.onContextMenu(event, this);
event.preventDefault();
event.stopPropagation();
console.log("Label context menu");
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/xeokit-sdk.es5.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/xeokit-sdk.min.cjs.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/xeokit-sdk.min.es.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/xeokit-sdk.min.es5.js

Large diffs are not rendered by default.

0 comments on commit 9243820

Please sign in to comment.