disable dalamud sounds for download ui. who even though it's a good idea to add this feature to begin with.
This commit is contained in:
@@ -210,6 +210,7 @@ public class PlayerDataFactory
|
|||||||
if (objectKind == ObjectKind.Player)
|
if (objectKind == ObjectKind.Player)
|
||||||
{
|
{
|
||||||
previousData.MoodlesData = await _ipcManager.Moodles.GetStatusAsync(playerRelatedObject.Address).ConfigureAwait(false) ?? string.Empty;
|
previousData.MoodlesData = await _ipcManager.Moodles.GetStatusAsync(playerRelatedObject.Address).ConfigureAwait(false) ?? string.Empty;
|
||||||
|
_logger.LogDebug("Moodles is now: {moodles}", previousData.MoodlesData);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (previousData.FileReplacements.TryGetValue(objectKind, out HashSet<FileReplacement>? fileReplacements))
|
if (previousData.FileReplacements.TryGetValue(objectKind, out HashSet<FileReplacement>? fileReplacements))
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ public class DownloadUi : WindowMediatorSubscriberBase
|
|||||||
private readonly ConcurrentDictionary<GameObjectHandler, bool> _uploadingPlayers = new();
|
private readonly ConcurrentDictionary<GameObjectHandler, bool> _uploadingPlayers = new();
|
||||||
|
|
||||||
public DownloadUi(ILogger<DownloadUi> logger, DalamudUtilService dalamudUtilService, MareConfigService configService,
|
public DownloadUi(ILogger<DownloadUi> logger, DalamudUtilService dalamudUtilService, MareConfigService configService,
|
||||||
FileUploadManager fileTransferManager, MareMediator mediator, UiSharedService uiShared, PerformanceCollectorService performanceCollectorService)
|
FileUploadManager fileTransferManager, MareMediator mediator, UiSharedService uiShared, PerformanceCollectorService performanceCollectorService)
|
||||||
: base(logger, mediator, "Mare Synchronos Downloads", performanceCollectorService)
|
: base(logger, mediator, "Mare Synchronos Downloads", performanceCollectorService)
|
||||||
{
|
{
|
||||||
_dalamudUtilService = dalamudUtilService;
|
_dalamudUtilService = dalamudUtilService;
|
||||||
@@ -46,6 +46,8 @@ public class DownloadUi : WindowMediatorSubscriberBase
|
|||||||
Flags |= ImGuiWindowFlags.NoDecoration;
|
Flags |= ImGuiWindowFlags.NoDecoration;
|
||||||
Flags |= ImGuiWindowFlags.NoFocusOnAppearing;
|
Flags |= ImGuiWindowFlags.NoFocusOnAppearing;
|
||||||
|
|
||||||
|
DisableWindowSounds = true;
|
||||||
|
|
||||||
ForceMainWindow = true;
|
ForceMainWindow = true;
|
||||||
|
|
||||||
IsOpen = true;
|
IsOpen = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user