mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-28 01:20:55 +01:00
Error Handling: fixed cases where recoverable error handling would crash. (#1651)
This commit is contained in:
parent
3381ab423b
commit
e97b97467e
@ -43,6 +43,10 @@ Breaking changes:
|
|||||||
|
|
||||||
Other changes:
|
Other changes:
|
||||||
|
|
||||||
|
- Error Handling: fixed cases where recoverable error handling would crash when
|
||||||
|
processing errors outside of the NewFrame()..EndFrame() scope. (#1651)
|
||||||
|
|
||||||
|
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
VERSION 1.91.5 (Released 2024-11-07)
|
VERSION 1.91.5 (Released 2024-11-07)
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
|
@ -10542,7 +10542,7 @@ bool ImGui::ErrorLog(const char* msg)
|
|||||||
// Output to tooltip
|
// Output to tooltip
|
||||||
if (g.IO.ConfigErrorRecoveryEnableTooltip)
|
if (g.IO.ConfigErrorRecoveryEnableTooltip)
|
||||||
{
|
{
|
||||||
if (BeginErrorTooltip())
|
if (g.WithinFrameScope && BeginErrorTooltip())
|
||||||
{
|
{
|
||||||
if (g.ErrorCountCurrentFrame < 20)
|
if (g.ErrorCountCurrentFrame < 20)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user