Update model-manager.js
This commit is contained in:
@@ -1875,7 +1875,7 @@ class ModelGrid {
|
|||||||
removeEmbeddingExtension,
|
removeEmbeddingExtension,
|
||||||
strictlyOnWidget,
|
strictlyOnWidget,
|
||||||
) {
|
) {
|
||||||
const target = document.elementFromPoint(event.x, event.y);
|
const target = document.elementFromPoint(event.clientX, event.clientY);
|
||||||
if (modelType !== 'embeddings' && target.id === 'graph-canvas') {
|
if (modelType !== 'embeddings' && target.id === 'graph-canvas') {
|
||||||
const pos = app.canvas.convertEventToCanvasOffset(event);
|
const pos = app.canvas.convertEventToCanvasOffset(event);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user