Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Commit e2ddcd8

Browse files
authored
Merge pull request #24 from PennyBunny/master
Fixed cursor being locked after closing QM
2 parents 816596c + 50a53d4 commit e2ddcd8

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/3rdparty/
33
/.build/
44
/obj
5+
.idea/

ReMod.Core.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<VRCPath Condition="Exists('$(HOME)/.steam/steam/steamapps/common/VRChat')">$(HOME)/.steam/steam/steamapps/common/VRChat</VRCPath>
55
<VRCPath Condition="Exists('S:\Games\steamapps\common\VRChat')">S:\Games\steamapps\common\VRChat</VRCPath>
66
<VRCPath Condition="Exists('G:\SteamLibrary\steamapps\common\VRChat')">G:\SteamLibrary\steamapps\common\VRChat</VRCPath>
7+
<VRCPath Condition="Exists('P:\SteamLibrary\steamapps\common\VRChat')">P:\SteamLibrary\steamapps\common\VRChat</VRCPath>
78
</PropertyGroup>
89

910
<PropertyGroup Condition="'$(MlPath)'==''">

VRChat/QuickMenuExtensions.cs

+2
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ public static void CloseQuickMenu(this UIManagerImpl uiManager)
117117
.First(method => method.Name.StartsWith("Method_Public_Virtual_Final_New_Void_") && XrefScanner.XrefScan(method).Count() == 2);
118118
_closeQuickMenuMethod = typeof(UIManagerImpl).GetMethods()
119119
.First(method => method.Name.StartsWith("Method_Public_Void_Boolean_") && XrefUtils.CheckUsedBy(method, closeMenuMethod.Name));
120+
VRCUiCursorManager.field_Private_Static_VRCUiCursorManager_0.field_Private_Boolean_6 = false;
121+
VRCUiCursorManager.field_Private_Static_VRCUiCursorManager_0.field_Private_Boolean_0 = true;
120122
}
121123

122124
_closeQuickMenuMethod.Invoke(uiManager, new object[1] { false });

0 commit comments

Comments
 (0)