watafak
This commit is contained in:
@@ -9,6 +9,7 @@ using LightlessSync.Services.Mediator;
|
||||
using LightlessSync.Utils;
|
||||
using LightlessSync.WebAPI;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System.Numerics;
|
||||
|
||||
namespace LightlessSync.UI;
|
||||
|
||||
@@ -28,12 +29,10 @@ public class PermissionWindowUI : WindowMediatorSubscriberBase
|
||||
_uiSharedService = uiSharedService;
|
||||
_apiController = apiController;
|
||||
_ownPermissions = pair.UserPair.OwnPermissions.DeepClone();
|
||||
Flags = ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoResize;
|
||||
SizeConstraints = new()
|
||||
{
|
||||
MinimumSize = new(450, 100),
|
||||
MaximumSize = new(450, 500)
|
||||
};
|
||||
WindowBuilder.For(this)
|
||||
.SetSizeConstraints(new Vector2(450, 100), new Vector2(450, 500))
|
||||
.AddFlags(ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoResize)
|
||||
.Apply();
|
||||
IsOpen = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user