Rename variable

This commit is contained in:
karashiiro 2020-09-02 14:07:34 -07:00
parent 4f7981deaa
commit ef75705421

View file

@ -39,7 +39,7 @@ namespace Dalamud.Interface
/// </summary> /// </summary>
public bool DisableAutomaticUiHide { get; set; } = false; public bool DisableAutomaticUiHide { get; set; } = false;
private bool CutsceneActive => this.clientState.Condition[ConditionFlag.OccupiedInCutSceneEvent] || private bool CutsceneOrGposeActive => this.clientState.Condition[ConditionFlag.OccupiedInCutSceneEvent] ||
this.clientState.Condition[ConditionFlag.WatchingCutscene] || this.clientState.Condition[ConditionFlag.WatchingCutscene] ||
this.clientState.Condition[ConditionFlag.WatchingCutscene78]; this.clientState.Condition[ConditionFlag.WatchingCutscene78];
@ -136,7 +136,7 @@ namespace Dalamud.Interface
private void OnDraw() { private void OnDraw() {
if ((this.gameGui.GameUiHidden || CutsceneActive) && this.config.ToggleUiHide && !DisableAutomaticUiHide) if ((this.gameGui.GameUiHidden || CutsceneOrGposeActive) && this.config.ToggleUiHide && !DisableAutomaticUiHide)
return; return;
ImGui.PushID(this.namespaceName); ImGui.PushID(this.namespaceName);