mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-07 00:45:08 +01:00
not show datum menu if it's in the edit mode
This commit is contained in:
parent
5a42a77e2f
commit
7f29da53fe
1 changed files with 3 additions and 0 deletions
|
|
@ -54,6 +54,9 @@ export default class DatumView extends View {
|
|||
}
|
||||
|
||||
onMouseClick({mouseEvent: e}) {
|
||||
if (!this.material.visible) {
|
||||
return;
|
||||
}
|
||||
selectDatum(datum);
|
||||
showDatumMenu({
|
||||
x: e.offsetX,
|
||||
|
|
|
|||
Loading…
Reference in a new issue