LCOV - code coverage report
Current view: top level - packages/settings-core/src - canvasNavigation.ts Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 1 1
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : import type { Settings } from './types'
       2              : 
       3              : /**
       4              :  * The Left Mouse Click Behavior and Mouse Wheel Scroll values each Navigation
       5              :  * Mode preset stands for.
       6              :  *
       7              :  * `custom` is deliberately absent: it means "the overrides are whatever the
       8              :  * user set", so there is no pair to apply or to restore from it.
       9              :  */
      10         2356 : export const CANVAS_NAVIGATION_PRESETS: Record<
      11              :   string,
      12              :   Partial<Settings> | undefined
      13              : > = {
      14              :   standard: {
      15              :     'Comfy.Canvas.LeftMouseClickBehavior': 'select',
      16              :     'Comfy.Canvas.MouseWheelScroll': 'panning'
      17              :   },
      18              :   legacy: {
      19              :     'Comfy.Canvas.LeftMouseClickBehavior': 'panning',
      20              :     'Comfy.Canvas.MouseWheelScroll': 'zoom'
      21              :   }
      22              : }
        

Generated by: LCOV version 2.0-1