prime31 / Nez

Nez is a free 2D focused framework that works with MonoGame and FNA
MIT License
1.76k stars 355 forks source link

Don't activate buttons with gamepad when they are disabled. #746

Closed oshelton closed 1 year ago

oshelton commented 1 year ago

Buttons can't be activated via mouse when they are disabled but input events will still trigger the OnClicked handler.

A pretty simple change, and I hope nobody is relying on this unexpected behavior, but I suppose they technically could.