mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-11 01:37:24 +01:00
Merge pull request #2500 from nebel/window-error-pop-dalamud-style
Some checks failed
Build Dalamud / Build on Windows (push) Waiting to run
Build Dalamud / Check API Compatibility (push) Blocked by required conditions
Build Dalamud / Deploy dalamud-distrib staging (push) Blocked by required conditions
Rollup changes to next version / check (api14) (push) Failing after 4s
Tag Build / Tag Build (push) Successful in 2s
Some checks failed
Build Dalamud / Build on Windows (push) Waiting to run
Build Dalamud / Check API Compatibility (push) Blocked by required conditions
Build Dalamud / Deploy dalamud-distrib staging (push) Blocked by required conditions
Rollup changes to next version / check (api14) (push) Failing after 4s
Tag Build / Tag Build (push) Successful in 2s
Always pop DalamudStandard style if pushed earlier in Draw
This commit is contained in:
commit
e07bda7e58
1 changed files with 3 additions and 6 deletions
|
|
@ -672,16 +672,13 @@ public abstract class Window
|
|||
Task.FromResult<IDalamudTextureWrap>(tex));
|
||||
}
|
||||
|
||||
if (!this.hasError)
|
||||
if (isErrorStylePushed)
|
||||
{
|
||||
this.PostDraw();
|
||||
Style.StyleModelV1.DalamudStandard.Pop();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (isErrorStylePushed)
|
||||
{
|
||||
Style.StyleModelV1.DalamudStandard.Pop();
|
||||
}
|
||||
this.PostDraw();
|
||||
}
|
||||
|
||||
this.PostHandlePreset(persistence);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue