mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 05:04:15 +01:00
fix: only call Window.Update() when the window is open
This commit is contained in:
parent
508d7643d9
commit
0200468149
1 changed files with 2 additions and 2 deletions
|
|
@ -170,8 +170,6 @@ namespace Dalamud.Interface.Windowing
|
|||
/// </summary>
|
||||
internal void DrawInternal()
|
||||
{
|
||||
this.Update();
|
||||
|
||||
if (!this.IsOpen)
|
||||
{
|
||||
if (this.internalIsOpen != this.internalLastIsOpen)
|
||||
|
|
@ -185,6 +183,8 @@ namespace Dalamud.Interface.Windowing
|
|||
return;
|
||||
}
|
||||
|
||||
this.Update();
|
||||
|
||||
var hasNamespace = !string.IsNullOrEmpty(this.Namespace);
|
||||
|
||||
if (hasNamespace)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue