mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 16:47:22 +01:00
reduce hitches and do some other changes to FSW
This commit is contained in:
parent
549a93654a
commit
5233ce860b
20 changed files with 156 additions and 103 deletions
|
|
@ -4,6 +4,7 @@ using Dalamud.Interface.Utility.Raii;
|
|||
using ImGuiNET;
|
||||
using MareSynchronos.API.Data.Extensions;
|
||||
using MareSynchronos.API.Dto.Group;
|
||||
using MareSynchronos.Services;
|
||||
using MareSynchronos.Services.Mediator;
|
||||
using MareSynchronos.WebAPI;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
|
@ -18,8 +19,9 @@ public class CreateSyncshellUI : WindowMediatorSubscriberBase
|
|||
private bool _errorGroupCreate;
|
||||
private GroupJoinDto? _lastCreatedGroup;
|
||||
|
||||
public CreateSyncshellUI(ILogger<CreateSyncshellUI> logger, MareMediator mareMediator, ApiController apiController, UiSharedService uiSharedService)
|
||||
: base(logger, mareMediator, "Create new Syncshell###MareSynchronosCreateSyncshell")
|
||||
public CreateSyncshellUI(ILogger<CreateSyncshellUI> logger, MareMediator mareMediator, ApiController apiController, UiSharedService uiSharedService,
|
||||
PerformanceCollectorService performanceCollectorService)
|
||||
: base(logger, mareMediator, "Create new Syncshell###MareSynchronosCreateSyncshell", performanceCollectorService)
|
||||
{
|
||||
_apiController = apiController;
|
||||
_uiSharedService = uiSharedService;
|
||||
|
|
@ -34,7 +36,7 @@ public class CreateSyncshellUI : WindowMediatorSubscriberBase
|
|||
Mediator.Subscribe<DisconnectedMessage>(this, (_) => IsOpen = false);
|
||||
}
|
||||
|
||||
public override void Draw()
|
||||
protected override void DrawInternal()
|
||||
{
|
||||
using (ImRaii.PushFont(_uiSharedService.UidFont))
|
||||
ImGui.TextUnformatted("Create new Syncshell");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue