Simplify draw delegate handling

This commit is contained in:
meli 2020-01-12 08:16:12 -08:00
parent 07c5fe013c
commit 92b7482e87
2 changed files with 17 additions and 13 deletions

View file

@ -85,7 +85,7 @@ namespace Dalamud {
this.WinSock2 = new WinSockHandlers();
this.InterfaceManager = new InterfaceManager(this.sigScanner);
this.InterfaceManager.ReadyToDraw += (sender, args) => this.InterfaceManager.OnBuildUi += BuildDalamudUi;
this.InterfaceManager.OnDraw += BuildDalamudUi;
this.InterfaceManager.Enable();
try {