9 Commits
Author SHA1 Message Date
codecringebinge 7c4c8f324a Rework overlay/dialog detection, add shift-speed and custom selectors
js/arrow_key_canvas_navigation.js:
- Replace the hardcoded CANVAS_BLOCKING_UI_WINDOW_CLASSES selector
  string with isDialogOpen(), which detects blocking UI more robustly:
  ARIA dialogs/modals via document.activeElement, PrimeVue overlay
  masks, native <dialog> elements, and a generic fallback that flags
  any full-viewport, high-z-index fixed-position div. This removes the
  need to hardcode every third-party node's CSS class.
- Add a "Manual Overlay CSS Selectors (to Disable Panning)" setting so
  users can add selectors for overlays the automatic detection misses,
  without editing the source file or restarting ComfyUI.
- Add a "Pan Speed Multiplier (Shift + Arrow Key)" setting (default 3x)
  for faster panning while holding Shift.
- Switch from the deprecated app.ui.settings API to
  app.extensionManager.setting.
- Replace the event.composedPath()[0] focus check with
  document.activeElement, and also treat contentEditable elements and
  litegraph's inline "property_value" span as focused inputs.
- Extract isInputFocused()/hasImageCarousel() into named helper
  functions and reorder the keydown handler into early-exit "fast
  path" checks for readability.

README.md:
- Update docs to match the above: mention the Shift multiplier, and
  replace the outdated instructions to edit the
  CANVAS_BLOCKING_UI_WINDOW_CLASSES constant with instructions to use
  the new Manual Overlay CSS Selectors setting instead.

Also normalized 6 files (.github/workflows/publish.yml, .gitignore,
LICENSE, README.md, __init__.py, pyproject.toml) back to LF line
endings — they had been accidentally converted to CRLF with no actual
content changes, which was producing a noisy ~800-line diff.
2026-07-20 17:00:53 -07:00
codecringebinge f6f651839b Merge pull request #1 from ComfyNodePRs/pyproject
Add pyproject.toml for Custom Node Registry
2024-09-29 15:35:01 -07:00
codecringebinge 5c1229ae51 Add publisher ID and icon url to pyproject.toml 2024-09-29 15:33:53 -07:00
codecringebinge 99e8cfd9e1 Merge pull request #2 from ComfyNodePRs/publish
Add Github Action for Publishing to Comfy Registry
2024-09-29 15:26:38 -07:00
snomiao 9a7d6a862a chore(pyproject): Add pyproject.toml for Custom Node Registry 2024-09-29 09:01:19 +00:00
snomiao 21e1b1ea2e chore(publish): Add Github Action for Publishing to Comfy Registry 2024-09-29 09:01:19 +00:00
codecringebinge 50a2891638 Add README 2024-09-28 21:03:47 -07:00
codecringebinge 7cde863bed Add arrow key canvas navigation event listener with pan speed setting 2024-09-28 20:16:20 -07:00
codecringebinge 60acfbdabe Initial commit 2024-09-28 20:08:04 -07:00