Skip to content

Commit 74ced0f

Browse files
authored
Temporary fix method
Note the verdicts about WinInput and IsWindows to fix bugs
1 parent f4ccbdd commit 74ced0f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

KeyViewer/Main.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,17 @@ public static void Load(ModEntry modEntry)
6363
modEntry.OnLateUpdate += OnLateUpdate;
6464
modEntry.Info.Version = Constants.Version;
6565
typeof(ModEntry).GetField(nameof(ModEntry.Version)).SetValue(modEntry, ModVersion = System.Version.Parse(Constants.Version));
66-
IsWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
66+
// Temporary fix
67+
// IsWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
6768

6869
Lang.OnInitialize += OnLanguageInitialize;
6970
}
7071
public static bool OnToggle(ModEntry modEntry, bool toggle)
7172
{
7273
if (toggle)
7374
{
74-
WinInput.Initialize();
75+
// Temporary fix
76+
// WinInput.Initialize();
7577
Tag.InitializeWrapperAssembly();
7678
FontManager.Initialize();
7779
AssetManager.Initialize();

0 commit comments

Comments
 (0)