mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 20:58:34 +01:00
indent this a bit nicer
This commit is contained in:
parent
08c4281da1
commit
0adb444c69
1 changed files with 6 additions and 5 deletions
|
@ -12,11 +12,12 @@ namespace MLEM.Misc {
|
||||||
public static TextInputWrapper Current {
|
public static TextInputWrapper Current {
|
||||||
get {
|
get {
|
||||||
if (current == null)
|
if (current == null)
|
||||||
throw new InvalidOperationException("The TextInputWrapper was not initialized yet. Please do so before running your game like so:\n" +
|
throw new InvalidOperationException(
|
||||||
"DesktopGL: TextInputWrapper.Current = new TextInputWrapper.DesktopGl<TextInputEventArgs>((w, c) => w.TextInput += c);\n" +
|
"The TextInputWrapper was not initialized yet. Please do so before running your game like so:\n" +
|
||||||
"Mobile and Consoles: TextInputWrapper.Current = new TextInputWrapper.Mobile();\n" +
|
"DesktopGL: TextInputWrapper.Current = new TextInputWrapper.DesktopGl<TextInputEventArgs>((w, c) => w.TextInput += c);\n" +
|
||||||
"Other Systems: TextInputWrapper.Current = new TextInputWrapper.Primitive();\n" +
|
"Mobile and Consoles: TextInputWrapper.Current = new TextInputWrapper.Mobile();\n" +
|
||||||
"Note that the primitive wrapper needs to have its Update() method called.");
|
"Other Systems: TextInputWrapper.Current = new TextInputWrapper.Primitive();\n" +
|
||||||
|
"Note that the primitive wrapper needs to have its Update() method called.");
|
||||||
return current;
|
return current;
|
||||||
}
|
}
|
||||||
set => current = value;
|
set => current = value;
|
||||||
|
|
Loading…
Reference in a new issue