Nuked88/ComfyUI-N-Sidebar

Mac - alt (which is option key) keys don't work

scruffynerf opened this issue · 2 comments

Added Sidebar, and couldn't find the settings. Read issues, and learned that alt-g was the way to open it. Except no key combo (which should be option-G) worked, on 2 different browsers (Firefox and Brave), on MacOS
modified:

function handleKeyPress(event) {
    if (event.altKey 

events to:

function handleKeyPress(event) {

    if (event.ctrlKey 

and it worked with ctrl-G. So please add an alternative choice to 'alt', which doesn't seem to work on Macs, despite that it should.

Hi! Can you try now ( with the option key )?

Hi! Can you try now ( with the option key )?

Yes. v1.2.3 fixes it. Thanks!