mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Error Handling: fixed cases where recoverable error handling would crash. (#1651)
This commit is contained in:
parent
3381ab423b
commit
e97b97467e
2 changed files with 5 additions and 1 deletions
|
|
@ -10542,7 +10542,7 @@ bool ImGui::ErrorLog(const char* msg)
|
|||
// Output to tooltip
|
||||
if (g.IO.ConfigErrorRecoveryEnableTooltip)
|
||||
{
|
||||
if (BeginErrorTooltip())
|
||||
if (g.WithinFrameScope && BeginErrorTooltip())
|
||||
{
|
||||
if (g.ErrorCountCurrentFrame < 20)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue