focustense / StardewUI

UI/widget library for Stardew modding
MIT License
5 stars 1 forks source link

Text Input should only capture on primary button/left click #41

Closed pneuma163 closed 1 week ago

pneuma163 commented 1 week ago

https://github.com/focustense/StardewUI/blob/d65c1ebbbb2e7b80446cf5520544a4932dcfaca7/Core/Widgets/TextInput.cs#L302

This method prevents textinput widgets from responding to user created click events of any kind. I would suggest limiting it to only responding to left clicks so the user can add right click functionality to a textinput widget themself.