Compare commits
2 Commits
a664d09065
...
fe886315a1
Author | SHA1 | Date | |
---|---|---|---|
|
fe886315a1 | ||
|
9cd001919a |
@ -137,7 +137,16 @@ namespace Sledgemapper
|
||||
_outlineShader = Content.Load<Effect>("shaders/OutlineShader");
|
||||
MyraEnvironment.Game = this;
|
||||
ResetRenderTarget();
|
||||
// Inform Myra that external text input is available
|
||||
// So it stops translating Keys to chars
|
||||
_desktop.HasExternalTextInput = true;
|
||||
|
||||
// Provide that text input
|
||||
Window.TextInput += (s, a) =>
|
||||
{
|
||||
_desktop.OnChar(a.Character);
|
||||
|
||||
};
|
||||
|
||||
_mainWidget = new MainWidget(_communicationManager, _messenger, Window);
|
||||
_communicationManager.CheckLogin();
|
||||
|
Loading…
Reference in New Issue
Block a user