mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 00:32:43 +00:00
only paste into input field if you have nomaivr
This commit is contained in:
parent
c6717e3172
commit
17d28ea385
@ -365,8 +365,11 @@ internal class MenuManager : MonoBehaviour, IAddComponentOnStart
|
||||
ConnectPopup.OnActivateMenu += () =>
|
||||
{
|
||||
_connectPopupOpenTime = Time.time;
|
||||
// ClearInputTextField is called AFTER OnActivateMenu
|
||||
Delay.RunNextFrame(() => ConnectPopup._inputField.SetTextWithoutNotify(GUIUtility.systemCopyBuffer));
|
||||
if (QSBCore.Helper.Interaction.ModExists("Raicuparta.NomaiVR"))
|
||||
{
|
||||
// ClearInputTextField is called AFTER OnActivateMenu
|
||||
Delay.RunNextFrame(() => ConnectPopup._inputField.SetTextWithoutNotify(GUIUtility.systemCopyBuffer));
|
||||
}
|
||||
};
|
||||
|
||||
OneButtonInfoPopup = QSBCore.MenuApi.MakeInfoPopup("", "");
|
||||
|
Loading…
x
Reference in New Issue
Block a user