mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
Rename variable
This commit is contained in:
parent
4f7981deaa
commit
ef75705421
1 changed files with 4 additions and 4 deletions
|
|
@ -39,9 +39,9 @@ namespace Dalamud.Interface
|
|||
/// </summary>
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue