mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 08:17:47 +01:00
Simplify draw delegate handling
This commit is contained in:
parent
07c5fe013c
commit
92b7482e87
2 changed files with 17 additions and 13 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue