showSaveImage option is ignored
rer145 opened this issue · 1 comments
rer145 commented
When setting showSaveImage to false, the context menu still shows that option no matter what.
contextMenu({ showCopyImage: true, showCopyImageAddress: false, showSaveImage: false, showSaveImageAs: true });
This results in "Save Image", "Save Image As", and "Copy Image" all appearing in the menu. In this instance, I am only looking for "Save Image As" and "Copy Image", since "Save Image" in itself does nothing.
sindresorhus commented
I just tried and worked for me. Sounds like you're on an old version. This was added a while ago: 2f1bae0