mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-21 23:34:31 +00:00
Fix escape not resetting activeIndex in gallery (#535)
* Fix escape not resetting activeIndex in gallery * Use handleVisibilityChange for consistency
This commit is contained in:
@@ -66,6 +66,7 @@ const handleKeyDown = (event: KeyboardEvent) => {
|
||||
break
|
||||
case 'Escape':
|
||||
galleryVisible.value = false
|
||||
handleVisibilityChange(false)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user