mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-29 20:03:41 +01:00
refactor: OnDraw, OnBuildUi -> Draw,
This commit is contained in:
parent
9214e17577
commit
3c65cc95ee
4 changed files with 11 additions and 11 deletions
|
|
@ -84,7 +84,7 @@ namespace Dalamud.Interface.Internal
|
|||
this.windowSystem.AddWindow(this.settingsWindow);
|
||||
this.windowSystem.AddWindow(this.selfTestWindow);
|
||||
|
||||
this.dalamud.InterfaceManager.OnDraw += this.OnDraw;
|
||||
this.dalamud.InterfaceManager.Draw += this.OnDraw;
|
||||
|
||||
Log.Information("Windows added");
|
||||
}
|
||||
|
|
@ -106,7 +106,7 @@ namespace Dalamud.Interface.Internal
|
|||
/// <inheritdoc/>
|
||||
public void Dispose()
|
||||
{
|
||||
this.dalamud.InterfaceManager.OnDraw -= this.OnDraw;
|
||||
this.dalamud.InterfaceManager.Draw -= this.OnDraw;
|
||||
|
||||
this.windowSystem.RemoveAllWindows();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue