RonenNess / GeonBit.UI

UI system for MonoGame projects.
MIT License
478 stars 64 forks source link

[enhancement] Entity OnRightClick / OnAltClick #57

Closed Onidotmoe closed 6 years ago

Onidotmoe commented 6 years ago

Would be nice to have an OnRightClick or OnAltClick on entities.

OnMouseDown doesn't register rightclicks.

RonenNess commented 6 years ago

I wanted to do this for a while, might as well do it now. :) Added some events for right mouse click, for anything else you can use WhileMouseHoverOrDown and test internally (also a new event).

Thanks!

Onidotmoe commented 6 years ago

woaw thanks, that was FAST!