Tmp Tab Drawing

This commit is contained in:
JacobTech 2024-11-18 10:40:48 -05:00
parent 570fa572d3
commit bfb9012574

View File

@ -118,7 +118,7 @@ public class ServerRoleOptions : UserControl
SelectedLine.Size = new(Display.Size.X, Line.Size.Y); SelectedLine.Size = new(Display.Size.X, Line.Size.Y);
SelectedLine.Location = new(Display.Location.X, Line.Location.Y); SelectedLine.Location = new(Display.Location.X, Line.Location.Y);
Page.Controls.Clear(); Page.Controls.Clear();
TryDraw(); Window!.TryDraw();
} }
private ServerPermission TempPermissions = ServerPermission.None; private ServerPermission TempPermissions = ServerPermission.None;
@ -197,7 +197,7 @@ public class ServerRoleOptions : UserControl
Page.ScrollValue = scrval.Value; Page.ScrollValue = scrval.Value;
} }
BlockDraw = false; BlockDraw = false;
TryDraw(); Window!.TryDraw();
} }
private async Task PermissionSave() private async Task PermissionSave()
@ -239,7 +239,7 @@ public class ServerRoleOptions : UserControl
}); });
} }
BlockDraw = false; BlockDraw = false;
TryDraw(); Window!.TryDraw();
} }
private Role r; private Role r;