mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-11 15:40:46 +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 += () =>
|
ConnectPopup.OnActivateMenu += () =>
|
||||||
{
|
{
|
||||||
_connectPopupOpenTime = Time.time;
|
_connectPopupOpenTime = Time.time;
|
||||||
|
if (QSBCore.Helper.Interaction.ModExists("Raicuparta.NomaiVR"))
|
||||||
|
{
|
||||||
// ClearInputTextField is called AFTER OnActivateMenu
|
// ClearInputTextField is called AFTER OnActivateMenu
|
||||||
Delay.RunNextFrame(() => ConnectPopup._inputField.SetTextWithoutNotify(GUIUtility.systemCopyBuffer));
|
Delay.RunNextFrame(() => ConnectPopup._inputField.SetTextWithoutNotify(GUIUtility.systemCopyBuffer));
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
OneButtonInfoPopup = QSBCore.MenuApi.MakeInfoPopup("", "");
|
OneButtonInfoPopup = QSBCore.MenuApi.MakeInfoPopup("", "");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user