SHADERed icon indicating copy to clipboard operation
SHADERed copied to clipboard

Right click on Mac?!

Open GabZach opened this issue 5 years ago • 5 comments

The right-click on Mac does not work, it seems.

I've got a one-button mouse (magic mouse), and for all Mac programs, a right-click = ctrl-click.

But this does not seem to work in Shadered, nor does any other combination work.

GabZach avatar Dec 02 '20 14:12 GabZach

BTW: without the ability to right-click, Shadered is unusable!

GabZach avatar Dec 03 '20 09:12 GabZach

Can't fix and test Mac related bugs/features since I don't own a Mac device. This will stay open until I either get one or until someone else fixes this.

dfranx avatar Dec 03 '20 14:12 dfranx

I might give it a quick shot, although I don't have much time. Where is the code that detects the right-click event?

GabZach avatar Dec 03 '20 14:12 GabZach

Honestly, I think this issue has to do with Dear ImGui. Not sure though where I would look to find the cause of this or how I would handle this.

dfranx avatar Dec 03 '20 15:12 dfranx

It seems like there is a patch under way: https://github.com/ocornut/imgui/pull/2343 So, hopefully, maybe, you can use the new version and set the correct compile flag, once it's available.

GabZach avatar Dec 03 '20 18:12 GabZach