mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-22 16:39:19 +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>
|
/// </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];
|
||||||
|
|
||||||
private readonly ClientState clientState;
|
private readonly ClientState clientState;
|
||||||
private readonly InterfaceManager interfaceManager;
|
private readonly InterfaceManager interfaceManager;
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue