Merged Cake and Abel branched into 2.0.3 (#131)
Co-authored-by: azyges <aaaaaa@aaa.aaa> Co-authored-by: cake <admin@cakeandbanana.nl> Co-authored-by: defnotken <itsdefnotken@gmail.com> Reviewed-on: #131
This commit was merged in pull request #131.
This commit is contained in:
@@ -205,10 +205,8 @@ public sealed class ZoneChatUi : WindowMediatorSubscriberBase
|
||||
|
||||
private void ApplyUiVisibilitySettings()
|
||||
{
|
||||
var config = _chatConfigService.Current;
|
||||
_uiBuilder.DisableUserUiHide = true;
|
||||
_uiBuilder.DisableCutsceneUiHide = config.ShowInCutscenes;
|
||||
_uiBuilder.DisableGposeUiHide = config.ShowInGpose;
|
||||
_uiBuilder.DisableCutsceneUiHide = true;
|
||||
}
|
||||
|
||||
private bool ShouldHide()
|
||||
@@ -220,6 +218,16 @@ public sealed class ZoneChatUi : WindowMediatorSubscriberBase
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!config.ShowInGpose && _dalamudUtilService.IsInGpose)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!config.ShowInCutscenes && _dalamudUtilService.IsInCutscene)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if (config.HideInCombat && _dalamudUtilService.IsInCombat)
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user