mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-21 07:59:18 +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>
|
/// </summary>
|
||||||
internal void DrawInternal()
|
internal void DrawInternal()
|
||||||
{
|
{
|
||||||
this.Update();
|
|
||||||
|
|
||||||
if (!this.IsOpen)
|
if (!this.IsOpen)
|
||||||
{
|
{
|
||||||
if (this.internalIsOpen != this.internalLastIsOpen)
|
if (this.internalIsOpen != this.internalLastIsOpen)
|
||||||
|
|
@ -185,6 +183,8 @@ namespace Dalamud.Interface.Windowing
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.Update();
|
||||||
|
|
||||||
var hasNamespace = !string.IsNullOrEmpty(this.Namespace);
|
var hasNamespace = !string.IsNullOrEmpty(this.Namespace);
|
||||||
|
|
||||||
if (hasNamespace)
|
if (hasNamespace)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue