1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-26 06:28:35 +01:00

make eventargs more generic so that this also works with the core version of monogame

This commit is contained in:
Ellpeck 2020-02-10 23:54:27 +01:00
parent 9366890aaa
commit 2e8e17b373

View file

@ -36,7 +36,7 @@ namespace MLEM.Extensions {
return true;
}
private void OnTextInput(object sender, EventArgs args) {
private void OnTextInput(object sender, object args) {
if (key == null)
key = args.GetType().GetProperty("Key");
if (character == null)