nutti / Screencast-Keys

Blender Add-on: Screencast Keys
GNU General Public License v3.0
1.27k stars 112 forks source link

Request: Show modifier keys on the left when aligned to the right #107

Closed jlampel closed 2 years ago

jlampel commented 2 years ago

Description about the feature
The best place for me to put Screencast Keys is the bottom right of the viewport, since it's out of the way and doesn't block the redo panel. But, when a modifier key is pressed, it jumps the mouse around and is hard to follow. If the feature is aligned to the right, could the modifier keys appear to the left?

Are you willing to contribute about this feature. (Yes/No)
Yes, I wouldn't mind taking a crack at it if it's a simple enough fix.

Screenshots [Optional] blender_TfzVkT0tKa

nutti commented 2 years ago

@jlampel

This feature looks good to me.

You need to fix below two functions.

If you think this fixes are difficult, I will tackle this issue. What do you think?

jlampel commented 2 years ago

Sorry for the delay on this, I started digging into the code and my initial idea didn't work but I would like to take another crack at it to learn more about how custom drawing works in Blender.

@visualworx That sounds like a duplicate of #108 or #103 and should be fixed already. If you've tried it on the latest update (download a .zip of the code and not the release to test the update) maybe post in one of those threads with more information.

nutti commented 2 years ago

@jlampel

Thanks. If you still want to contribute this feature, I will wait.

It is no problem that you quit to tackle this issue. In the case, I will tackle this issue instead.

jlampel commented 2 years ago

Ok, sorry I wasn't able to get to this. If you could tackle it I would love to see the changes!

nutti commented 2 years ago

This request is now in the master branch. Thanks for the request.