Block snap left/right when textbox is active
This commit is contained in:
@@ -35,8 +35,7 @@ public static class ScrollPatches
|
||||
|
||||
private static bool HandleInput(ScrollRect scrollRect)
|
||||
{
|
||||
if (EventSystem.current?.currentSelectedGameObject != null &&
|
||||
EventSystem.current.currentSelectedGameObject.GetComponent<TMP_InputField>() != null)
|
||||
if (Plugin.TextboxActive())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user