mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 20:58:34 +01:00
make eventargs more generic so that this also works with the core version of monogame
This commit is contained in:
parent
9366890aaa
commit
2e8e17b373
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ namespace MLEM.Extensions {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnTextInput(object sender, EventArgs args) {
|
private void OnTextInput(object sender, object args) {
|
||||||
if (key == null)
|
if (key == null)
|
||||||
key = args.GetType().GetProperty("Key");
|
key = args.GetType().GetProperty("Key");
|
||||||
if (character == null)
|
if (character == null)
|
||||||
|
|
Loading…
Reference in a new issue