mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
Stickers: hacky workaround for bug in MTJobManager
This commit is contained in:
parent
d635b45db2
commit
d1102bb1e5
6 changed files with 18 additions and 6 deletions
|
@ -35,7 +35,8 @@ public class StickerMod : MelonMod
|
|||
if (StickerSystem.Instance == null)
|
||||
return;
|
||||
|
||||
if (Input.mouseScrollDelta.y != 0f
|
||||
if (StickerSystem.Instance.IsInStickerMode
|
||||
&& Input.mouseScrollDelta.y != 0f
|
||||
&& Cursor.lockState == CursorLockMode.Locked // prevent scrolling while in menus
|
||||
&& !CVRInputManager.Instance.zoom) // prevent scrolling while using scroll zoom
|
||||
StickerSystem.Instance.SelectedStickerSlot += (int)Input.mouseScrollDelta.y;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue