From ef7570542178d91c249a237e271870932f9cb1af Mon Sep 17 00:00:00 2001 From: karashiiro <49822414+karashiiro@users.noreply.github.com> Date: Wed, 2 Sep 2020 14:07:34 -0700 Subject: [PATCH] Rename variable --- Dalamud/Interface/UiBuilder.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dalamud/Interface/UiBuilder.cs b/Dalamud/Interface/UiBuilder.cs index 4db7ad81b..1857bf91d 100644 --- a/Dalamud/Interface/UiBuilder.cs +++ b/Dalamud/Interface/UiBuilder.cs @@ -39,9 +39,9 @@ namespace Dalamud.Interface /// public bool DisableAutomaticUiHide { get; set; } = false; - private bool CutsceneActive => this.clientState.Condition[ConditionFlag.OccupiedInCutSceneEvent] || - this.clientState.Condition[ConditionFlag.WatchingCutscene] || - this.clientState.Condition[ConditionFlag.WatchingCutscene78]; + private bool CutsceneOrGposeActive => this.clientState.Condition[ConditionFlag.OccupiedInCutSceneEvent] || + this.clientState.Condition[ConditionFlag.WatchingCutscene] || + this.clientState.Condition[ConditionFlag.WatchingCutscene78]; private readonly ClientState clientState; private readonly InterfaceManager interfaceManager; @@ -136,7 +136,7 @@ namespace Dalamud.Interface private void OnDraw() { - if ((this.gameGui.GameUiHidden || CutsceneActive) && this.config.ToggleUiHide && !DisableAutomaticUiHide) + if ((this.gameGui.GameUiHidden || CutsceneOrGposeActive) && this.config.ToggleUiHide && !DisableAutomaticUiHide) return; ImGui.PushID(this.namespaceName);