watafak
This commit is contained in:
@@ -5,6 +5,7 @@ using LightlessSync.API.Data.Extensions;
|
||||
using LightlessSync.API.Dto.Group;
|
||||
using LightlessSync.Services;
|
||||
using LightlessSync.Services.Mediator;
|
||||
using LightlessSync.Utils;
|
||||
using LightlessSync.WebAPI;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System.Numerics;
|
||||
@@ -24,13 +25,10 @@ public class CreateSyncshellUI : WindowMediatorSubscriberBase
|
||||
{
|
||||
_apiController = apiController;
|
||||
_uiSharedService = uiSharedService;
|
||||
SizeConstraints = new()
|
||||
{
|
||||
MinimumSize = new(550, 330),
|
||||
MaximumSize = new(550, 330)
|
||||
};
|
||||
|
||||
Flags = ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoCollapse;
|
||||
WindowBuilder.For(this)
|
||||
.SetFixedSize(new Vector2(550, 330))
|
||||
.AddFlags(ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoCollapse)
|
||||
.Apply();
|
||||
|
||||
Mediator.Subscribe<DisconnectedMessage>(this, (_) => IsOpen = false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user