diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ffcea6..c97e0b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `UIManager.hide()` now calls `cleanupEditors()` to destroy all active drag controllers, editors, and inline controls. - Fixed CSS `display: flex !important` on `.persist-active` overriding inline `display: none`, keeping the panel fully interactive while visually hidden. - Added `pointer-events: none` safety net on panel and floating controls when hidden, with proper restoration on re-show. -- **Glass Drag Cursor Stuck**: Fixed the magnify glass drag mode not resetting `document.body` cursor and `userSelect` after releasing, leaving the cursor permanently in grab/scroll mode. +- **Glass Drag Cursor Stuck**: Fixed the magnify glass drag corrupting LiteGraph canvas state, leaving the cursor permanently in grab/pan mode and all canvas clicks non-functional. Root cause: LiteGraph uses pointer events (`pointerdown`/`pointerup`) while our drag only intercepted mouse events. In Firefox and Brave, these are independent event types — the `pointerup` still reached LiteGraph, corrupting its `pointer_is_down` state. Fixed by switching glass drag to use pointer events with full propagation blocking, plus a direct `resetLiteGraphCanvasState()` safety net. --- diff --git a/README.md b/README.md index fc99f92..41e9627 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ **A powerful, customizable magnifying glass extension for ComfyUI.** [![ComfyUI](https://img.shields.io/badge/ComfyUI-Extension-green?style=for-the-badge)](https://github.com/comfyanonymous/ComfyUI) -[![Version](https://img.shields.io/badge/Version-1.13.0-orange?style=for-the-badge)](https://github.com/AEmotionStudio/ComfyUI-MagnifyGlass/releases) +[![Version](https://img.shields.io/badge/Version-1.13.1-orange?style=for-the-badge)](https://github.com/AEmotionStudio/ComfyUI-MagnifyGlass/releases) [![License](https://img.shields.io/badge/License-GPLv3-red?style=for-the-badge)](LICENSE) [![Dependencies](https://img.shields.io/badge/dependencies-none-brightgreen?style=for-the-badge&color=blue)](package.json) @@ -25,16 +25,13 @@ --- -## 🚀 What's New in v1.13.0 (January 19, 2026) +## 🚀 What's New in v1.13.1 (February 7, 2026) -**Direct Node Editing & Performance Optimization** +**Stability & Cross-Browser Fixes** -* **✏️ Direct Node Editing**: Modify node values (text, numbers, toggles, combos) directly from the Inspector Panel without leaving your spot. -* **⚡ Performance Boost**: Batched DOM operations for HTML overlays significantly reduce layout thrashing. -* **⌨️ Accessibility & UX**: - * Full keyboard navigation (Arrows/Enter/Esc) for node selector dropdowns. - * Dropdowns now intelligently close when clicking the canvas. -* **🛡️ Security Hardening**: Improved XSS protection in sidebar rendering. +* **🐛 Glass Drag Fixed**: Resolved an issue where dragging the magnify glass would corrupt LiteGraph canvas state, leaving the cursor stuck in grab/pan mode and all canvas clicks non-functional. Now works reliably across Chromium, Firefox, and Brave. +* **🐛 Ghost Interactions Fixed**: Fixed cursor actions (grab, text-input, pointer) persisting after hiding the info panel via the X key toggle. +* **🔧 Cross-Browser Compatibility**: Glass drag now uses pointer events to match LiteGraph's event model, ensuring consistent behavior across all browsers. > 📄 **See [CHANGELOG.md](CHANGELOG.md) for the complete version history.** diff --git a/package.json b/package.json index f96bf91..87711f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "comfyui-magnifyglass", - "version": "1.13.0", + "version": "1.13.1", "type": "module", "description": "A professional magnifying glass and info panel for ComfyUI", "scripts": { diff --git a/pyproject.toml b/pyproject.toml index df0c94a..992f4fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-magnifyglass" description = "ComfyUI-MagnifyGlass: A powerful & customizable magnifying glass for ComfyUI. Zoom into canvas details with smooth controls, configurable activation, custom styles (shape, size, border) & WebGL performance." -version = "1.13.0" +version = "1.13.1" license = {file = "LICENSE"} [project.urls]