LCOV - code coverage report
Current view: top level - src/renderer/core/canvas/interaction - canvasInteractionMode.ts Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 3 3
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : import type { CanvasInteractionModeReader } from '@/lib/litegraph/src/litegraph'
       2              : import { useCanvasStore } from '@/renderer/core/canvas/canvasStore'
       3              : 
       4         2355 : export function createCanvasInteractionMode(): CanvasInteractionModeReader {
       5         2355 :   const canvasStore = useCanvasStore()
       6         2355 :   return { isSelectOnly: () => canvasStore.isPickingNodes }
       7              : }
        

Generated by: LCOV version 2.0-1