File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
org.knime.ui.js/src/store/workflow Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { API } from "@api";
22import { defineStore } from "pinia" ;
33
44import type { Connection , XY } from "@/api/gateway-api/generated-api" ;
5+ import { canvasRendererUtils } from "@/components/workflowEditor/util/canvasRenderer" ;
56
67import { useMovingStore } from "./moving" ;
78import { useWorkflowStore } from "./workflow" ;
@@ -92,9 +93,13 @@ export const useConnectionInteractionsStore = defineStore(
9293 index,
9394 } ) ;
9495
95- // move new bendpoint
9696 const movingStore = useMovingStore ( ) ;
97- await movingStore . moveObjectsWebGL ( { ...movingStore . movePreviewDelta } ) ;
97+ if ( canvasRendererUtils . isWebGLRenderer ( ) ) {
98+ // move new bendpoint
99+ await movingStore . moveObjectsWebGL ( {
100+ ...movingStore . movePreviewDelta ,
101+ } ) ;
102+ }
98103
99104 this . removeVirtualBendpoint ( { connectionId, index } ) ;
100105 } ,
You can’t perform that action at this time.
0 commit comments