Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right-click on Mac ... #182

Open
GabZach opened this issue Feb 16, 2021 · 2 comments
Open

Right-click on Mac ... #182

GabZach opened this issue Feb 16, 2021 · 2 comments

Comments

@GabZach
Copy link

GabZach commented Feb 16, 2021

.. is always, always a CTRL-click.
(If you need ctrl-click under Linux/Win, you might want to change that to CMD-click on Mac.)

I guess this is an issue in ImGUI.
There is some talk about a patch here: ocornut/imgui#1765
But I could not find the exact changes that I could apply to the version that comes with SHADERed.

@GabZach
Copy link
Author

GabZach commented Feb 16, 2021

Afterthought: maybe there is one specific place in Shadered that checks for left click. At that point, maybe, one could check for the control key, and then generate a right-click event ...
This might be easier to do than finding the right patches in ImGui or use different branch.

Mostly, I would be interested in accessing the context menu of a shader pass, so that I can access the uniforms GUI - there seems to be no other way than the right-click on the shader pass name.

@GabZach
Copy link
Author

GabZach commented Mar 7, 2021

There seems to be a branch of ImGUI that supposedly has the ctrl-click feature for Mac (in lieu of a right-click). That branch is named docker, but replacing the master source with this one when I compile ShaderEd does not work (some problem with tables).

If someone else can explain to me how to make it work, I'd appreciate it very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant