diff --git a/Luski/GUI/MainScreen/UI/PublicServers/ServerSettings/Pages/Server/Roles/ServerRoleOptions.cs b/Luski/GUI/MainScreen/UI/PublicServers/ServerSettings/Pages/Server/Roles/ServerRoleOptions.cs index a9f3da0..566a4ba 100644 --- a/Luski/GUI/MainScreen/UI/PublicServers/ServerSettings/Pages/Server/Roles/ServerRoleOptions.cs +++ b/Luski/GUI/MainScreen/UI/PublicServers/ServerSettings/Pages/Server/Roles/ServerRoleOptions.cs @@ -118,7 +118,7 @@ public class ServerRoleOptions : UserControl SelectedLine.Size = new(Display.Size.X, Line.Size.Y); SelectedLine.Location = new(Display.Location.X, Line.Location.Y); Page.Controls.Clear(); - TryDraw(); + Window!.TryDraw(); } private ServerPermission TempPermissions = ServerPermission.None; @@ -197,7 +197,7 @@ public class ServerRoleOptions : UserControl Page.ScrollValue = scrval.Value; } BlockDraw = false; - TryDraw(); + Window!.TryDraw(); } private async Task PermissionSave() @@ -239,7 +239,7 @@ public class ServerRoleOptions : UserControl }); } BlockDraw = false; - TryDraw(); + Window!.TryDraw(); } private Role r;