Updated to Risa's changes
This commit is contained in:
@@ -38,7 +38,6 @@ public class MainWindow : Window, IDisposable
|
||||
private readonly TemplateEditorManager _templateEditorManager;
|
||||
private readonly PluginConfiguration _configuration;
|
||||
private readonly HookingService _hookingService;
|
||||
private readonly DalamudBranchService _dalamudBranchService;
|
||||
|
||||
private readonly TemplateEditorEvent _templateEditorEvent;
|
||||
|
||||
@@ -61,7 +60,6 @@ public class MainWindow : Window, IDisposable
|
||||
TemplateEditorManager templateEditorManager,
|
||||
PluginConfiguration configuration,
|
||||
HookingService hookingService,
|
||||
DalamudBranchService dalamudBranchService,
|
||||
TemplateEditorEvent templateEditorEvent
|
||||
) : base($"Customize+ {VersionHelper.Version}###CPlusMainWindow")
|
||||
{
|
||||
@@ -77,7 +75,6 @@ public class MainWindow : Window, IDisposable
|
||||
_templateEditorManager = templateEditorManager;
|
||||
_configuration = configuration;
|
||||
_hookingService = hookingService;
|
||||
_dalamudBranchService = dalamudBranchService;
|
||||
|
||||
_templateEditorEvent = templateEditorEvent;
|
||||
|
||||
@@ -101,7 +98,7 @@ public class MainWindow : Window, IDisposable
|
||||
{
|
||||
var yPos = ImGui.GetCursorPosY();
|
||||
|
||||
using (var disabled = ImRaii.Disabled(_hookingService.RenderHookFailed || _hookingService.MovementHookFailed || !_dalamudBranchService.AllowPluginToRun))
|
||||
using (var disabled = ImRaii.Disabled(_hookingService.RenderHookFailed || _hookingService.MovementHookFailed))
|
||||
{
|
||||
LockWindowClosureIfNeeded();
|
||||
ImGuiEx.EzTabBar("##tabs", null, _switchToTab, [
|
||||
|
||||
Reference in New Issue
Block a user