mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Always pop DalamudStandard style if pushed earlier in Draw
This commit is contained in:
parent
e53ccdbcc0
commit
b88a6bb616
1 changed files with 3 additions and 6 deletions
|
|
@ -672,16 +672,13 @@ public abstract class Window
|
||||||
Task.FromResult<IDalamudTextureWrap>(tex));
|
Task.FromResult<IDalamudTextureWrap>(tex));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.hasError)
|
if (isErrorStylePushed)
|
||||||
{
|
{
|
||||||
this.PostDraw();
|
Style.StyleModelV1.DalamudStandard.Pop();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (isErrorStylePushed)
|
this.PostDraw();
|
||||||
{
|
|
||||||
Style.StyleModelV1.DalamudStandard.Pop();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.PostHandlePreset(persistence);
|
this.PostHandlePreset(persistence);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue