mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-20 14:57:45 +01:00
feat: add DALAMUD_NO_CONTEXTMENU env var
This commit is contained in:
parent
c4bc791d6f
commit
0d0496bee1
2 changed files with 9 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ using System;
|
|||
using System.Numerics;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
using Dalamud.Configuration.Internal;
|
||||
using Dalamud.Game.Gui.ContextMenus;
|
||||
using Dalamud.Game.Gui.Dtr;
|
||||
using Dalamud.Game.Gui.FlyText;
|
||||
|
|
@ -426,7 +427,9 @@ namespace Dalamud.Game.Gui
|
|||
Service<ToastGui>.Get().Enable();
|
||||
Service<FlyTextGui>.Get().Enable();
|
||||
Service<PartyFinderGui>.Get().Enable();
|
||||
Service<ContextMenu>.Get().Enable();
|
||||
|
||||
if (!EnvironmentConfiguration.DalamudNoContextMenu)
|
||||
Service<ContextMenu>.Get().Enable();
|
||||
|
||||
this.setGlobalBgmHook.Enable();
|
||||
this.handleItemHoverHook.Enable();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue